protected void executeFor(@Nonnull Platform platform, @Nonnull GolangDependency targetPackage, @Nonnull ProgressLogger progress) throws Exception {
final GolangSettings settings = getGolang();</BUG>
final ToolchainSettings toolchain = getToolchain();
final BuildSettings build = getBuild();
<BUG>final Path expectedPackagePath = settings.packagePathFor(build.getGopath());
final Path projectBasedir = settings.getProjectBasedir();
if (!expectedPackagePath.startsWith(projectBasedir)) {
throw new IllegalStateException("Project '" + targetPackage.getGroup() + "' is not part of GOPATH (" + build.getGopath() + "). Current location: " + projectBasedir);
}</BUG>
final Path outputFilename = build.outputFilenameFor(platform);

protected void executeFor(@Nonnull Platform platform, @Nonnull GolangDependency targetPackage, @Nonnull ProgressLogger progress) throws Exception {
final ToolchainSettings toolchain = getToolchain();
final BuildSettings build = getBuild();
final Path outputFilename = build.outputFilenameFor(platform);
