[INFO] fetching crate nixcfg 0.2.0... [INFO] checking nixcfg-0.2.0 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate nixcfg 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate nixcfg 0.2.0 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nixcfg 0.2.0 [INFO] finished tweaking crates.io crate nixcfg 0.2.0 [INFO] tweaked toml for crates.io crate nixcfg 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a310c1cdb05af1593d329a67cdf763d917a65bc7a475aa4dd321262a8068cd4 [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" "0a310c1cdb05af1593d329a67cdf763d917a65bc7a475aa4dd321262a8068cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a310c1cdb05af1593d329a67cdf763d917a65bc7a475aa4dd321262a8068cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a310c1cdb05af1593d329a67cdf763d917a65bc7a475aa4dd321262a8068cd4", kill_on_drop: false }` [INFO] [stdout] 0a310c1cdb05af1593d329a67cdf763d917a65bc7a475aa4dd321262a8068cd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c653547cf8f0e977e1bde4db00c9e91841413406d25645ebe52d0f3cb7e4a79d [INFO] running `Command { std: "docker" "start" "-a" "c653547cf8f0e977e1bde4db00c9e91841413406d25645ebe52d0f3cb7e4a79d", kill_on_drop: false }` [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Checking arenatree v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rnix v0.4.2 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking nixcfg v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | write!(file, "{}", content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | write!(content, "{}", ast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | value: replace_by [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Option`, found struct `String` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(replace_by)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `keep_eol` in initializer of `Command` [INFO] [stdout] --> src/main.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | let cmd = Command::Set { [INFO] [stdout] | ^^^^^^^^^^^^ missing `keep_eol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nixcfg` [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" "c653547cf8f0e977e1bde4db00c9e91841413406d25645ebe52d0f3cb7e4a79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c653547cf8f0e977e1bde4db00c9e91841413406d25645ebe52d0f3cb7e4a79d", kill_on_drop: false }` [INFO] [stdout] c653547cf8f0e977e1bde4db00c9e91841413406d25645ebe52d0f3cb7e4a79d