[INFO] cloning repository https://github.com/nelsbrock/soclose [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nelsbrock/soclose" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnelsbrock%2Fsoclose", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnelsbrock%2Fsoclose'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3759094fa55fbd55351b94872fac0e8b99a17b4c [INFO] checking nelsbrock/soclose against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnelsbrock%2Fsoclose" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nelsbrock/soclose on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nelsbrock/soclose [INFO] finished tweaking git repo https://github.com/nelsbrock/soclose [INFO] tweaked toml for git repo https://github.com/nelsbrock/soclose written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding byte-unit v4.0.19 (latest: v5.1.4) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.4) [INFO] [stderr] Adding clap_derive v3.2.25 (latest: v4.5.4) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-unit v4.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 601169e7d517338d9ad95fa4cd56ab441594373fb771e0fe878b0b205645e594 [INFO] running `Command { std: "docker" "start" "-a" "601169e7d517338d9ad95fa4cd56ab441594373fb771e0fe878b0b205645e594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "601169e7d517338d9ad95fa4cd56ab441594373fb771e0fe878b0b205645e594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601169e7d517338d9ad95fa4cd56ab441594373fb771e0fe878b0b205645e594", kill_on_drop: false }` [INFO] [stdout] 601169e7d517338d9ad95fa4cd56ab441594373fb771e0fe878b0b205645e594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4469752ad288c8aaf198e687946af29bedd6685ee497d0d5477040a3e857a26e [INFO] running `Command { std: "docker" "start" "-a" "4469752ad288c8aaf198e687946af29bedd6685ee497d0d5477040a3e857a26e", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking byte-unit v4.0.19 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking soclose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/bin/soclose.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/bin/soclose.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{AppSettings, Clap}; [INFO] [stdout] | ^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[clap( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[clap( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[clap(short, long, value_name = "size", default_value = "100MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[clap(short, long, value_name = "size", default_value = "100MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[clap(short, long, value_name = "size", default_value = "95MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[clap(short, long, value_name = "size", default_value = "95MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[clap(short, long, value_name = "size", default_missing_value = "1MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[clap(short, long, value_name = "size", default_missing_value = "1MiB")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[clap(short, long, value_name = "secs", default_value = "0.0")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[clap(short, long, value_name = "secs", default_value = "0.0")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[clap(long, value_name = "name:value", min_values = 1)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[clap(long, value_name = "name:value", min_values = 1)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[clap(long, conflicts_with = "timeout")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[clap(long, conflicts_with = "timeout")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[clap(long, value_name = "secs", default_value = "10.0")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[clap(long, value_name = "secs", default_value = "10.0")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[clap(value_name = "bind")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/bin/soclose.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[clap(value_name = "bind")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/bin/soclose.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 44 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | let opts: Opts = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/bin/soclose.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 44 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | let opts: Opts = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soclose` (bin "soclose") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `soclose` (bin "soclose" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "4469752ad288c8aaf198e687946af29bedd6685ee497d0d5477040a3e857a26e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4469752ad288c8aaf198e687946af29bedd6685ee497d0d5477040a3e857a26e", kill_on_drop: false }` [INFO] [stdout] 4469752ad288c8aaf198e687946af29bedd6685ee497d0d5477040a3e857a26e