[INFO] fetching crate nixcfg 0.2.0... [INFO] checking nixcfg-0.2.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [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 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a62aa06b605cadf8ce58e8f5aead65f5275ad99494d74d19f230e13f37b97a6e [INFO] running `Command { std: "docker" "start" "-a" "a62aa06b605cadf8ce58e8f5aead65f5275ad99494d74d19f230e13f37b97a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a62aa06b605cadf8ce58e8f5aead65f5275ad99494d74d19f230e13f37b97a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62aa06b605cadf8ce58e8f5aead65f5275ad99494d74d19f230e13f37b97a6e", kill_on_drop: false }` [INFO] [stdout] a62aa06b605cadf8ce58e8f5aead65f5275ad99494d74d19f230e13f37b97a6e [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4024df64bc4a27cc5914c82e4f91243ddfd454835095f97ba091f3c024831cc [INFO] running `Command { std: "docker" "start" "-a" "e4024df64bc4a27cc5914c82e4f91243ddfd454835095f97ba091f3c024831cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking arenatree v0.1.3 [INFO] [stderr] Checking smol_str v0.1.18 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [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` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e4024df64bc4a27cc5914c82e4f91243ddfd454835095f97ba091f3c024831cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4024df64bc4a27cc5914c82e4f91243ddfd454835095f97ba091f3c024831cc", kill_on_drop: false }` [INFO] [stdout] e4024df64bc4a27cc5914c82e4f91243ddfd454835095f97ba091f3c024831cc