[INFO] fetching crate nixcfg 0.2.0... [INFO] checking nixcfg-0.2.0 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] extracting crate nixcfg 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate nixcfg 0.2.0 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87db0455dd5647274834d23545a6343b503b1022ed6e79be4a0df6138f361826 [INFO] running `Command { std: "docker" "start" "-a" "87db0455dd5647274834d23545a6343b503b1022ed6e79be4a0df6138f361826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87db0455dd5647274834d23545a6343b503b1022ed6e79be4a0df6138f361826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87db0455dd5647274834d23545a6343b503b1022ed6e79be4a0df6138f361826", kill_on_drop: false }` [INFO] [stdout] 87db0455dd5647274834d23545a6343b503b1022ed6e79be4a0df6138f361826 [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" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 650fcfaf713390e99e633d08dd392ac67d3c496c668789bf553873750a10b83d [INFO] running `Command { std: "docker" "start" "-a" "650fcfaf713390e99e633d08dd392ac67d3c496c668789bf553873750a10b83d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Checking arenatree v0.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rnix v0.4.2 [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 the macro `write` (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 the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] 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] running `Command { std: "docker" "inspect" "650fcfaf713390e99e633d08dd392ac67d3c496c668789bf553873750a10b83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "650fcfaf713390e99e633d08dd392ac67d3c496c668789bf553873750a10b83d", kill_on_drop: false }` [INFO] [stdout] 650fcfaf713390e99e633d08dd392ac67d3c496c668789bf553873750a10b83d