[INFO] fetching crate cargo-shim 0.2.0... [INFO] checking cargo-shim-0.2.0 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate cargo-shim 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cargo-shim 0.2.0 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-shim 0.2.0 [INFO] finished tweaking crates.io crate cargo-shim 0.2.0 [INFO] tweaked toml for crates.io crate cargo-shim 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91513f05bf7b40fca32b901f79b8939c546f13390bbc9e73a51a88c167b2bc32 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91513f05bf7b40fca32b901f79b8939c546f13390bbc9e73a51a88c167b2bc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91513f05bf7b40fca32b901f79b8939c546f13390bbc9e73a51a88c167b2bc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91513f05bf7b40fca32b901f79b8939c546f13390bbc9e73a51a88c167b2bc32", kill_on_drop: false }` [INFO] [stdout] 91513f05bf7b40fca32b901f79b8939c546f13390bbc9e73a51a88c167b2bc32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 671ad297735f3b3dbec1944a12f1360191cdb6943901e4755cf5fe1b9b110185 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "671ad297735f3b3dbec1944a12f1360191cdb6943901e4755cf5fe1b9b110185", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking cargo_metadata v0.6.4 [INFO] [stderr] Checking cargo-shim v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | bail!("malformed cfg value or key/value pair: `{}`", s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / bail!( [INFO] [stdout] 96 | | "can only have one cfg-expression, consider using all() or \ [INFO] [stdout] 97 | | any() explicitly" [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | None => bail!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | "expected start of a cfg expression, \ [INFO] [stdout] 170 | | found nothing" [INFO] [stdout] 171 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | Some(Ok(t)) => bail!("expected a string, found {}", t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | None => bail!("expected a string, found nothing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | Some(Ok(t)) => bail!("expected identifier, found {}", t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | None => bail!("expected identifier, found nothing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | Some(Ok(t)) => bail!("expected {}, found {}", token.classify(), t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | None => bail!("expected {}, but cfg expr ended", token.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | bail!("malformed cfg value or key/value pair: `{}`", s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / bail!( [INFO] [stdout] 96 | | "can only have one cfg-expression, consider using all() or \ [INFO] [stdout] 97 | | any() explicitly" [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | None => bail!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | "expected start of a cfg expression, \ [INFO] [stdout] 170 | | found nothing" [INFO] [stdout] 171 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | Some(Ok(t)) => bail!("expected a string, found {}", t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | None => bail!("expected a string, found nothing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | Some(Ok(t)) => bail!("expected identifier, found {}", t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | None => bail!("expected identifier, found nothing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | Some(Ok(t)) => bail!("expected {}, found {}", token.classify(), t.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/cargo/cfg.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | None => bail!("expected {}, but cfg expr ended", token.classify()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:268:86 [INFO] [stdout] | [INFO] [stdout] 268 | Error::CannotLaunchCargo( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:269:80 [INFO] [stdout] | [INFO] [stdout] 269 | Error::CargoFailed( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:270:91 [INFO] [stdout] | [INFO] [stdout] 270 | Error::CannotParseCargoOutput( ref err ) => write!( formatter, "{}: {}", self.description(), err ) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:268:86 [INFO] [stdout] | [INFO] [stdout] 268 | Error::CannotLaunchCargo( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:269:80 [INFO] [stdout] | [INFO] [stdout] 269 | Error::CargoFailed( ref err ) => write!( formatter, "{}: {}", self.description(), err ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:270:91 [INFO] [stdout] | [INFO] [stdout] 270 | Error::CannotParseCargoOutput( ref err ) => write!( formatter, "{}: {}", self.description(), err ) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-shim` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "671ad297735f3b3dbec1944a12f1360191cdb6943901e4755cf5fe1b9b110185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671ad297735f3b3dbec1944a12f1360191cdb6943901e4755cf5fe1b9b110185", kill_on_drop: false }` [INFO] [stdout] 671ad297735f3b3dbec1944a12f1360191cdb6943901e4755cf5fe1b9b110185