[INFO] fetching crate nixcfg 0.2.0... [INFO] checking nixcfg-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate nixcfg 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate nixcfg 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arenatree v0.1.3 [INFO] [stderr] Downloaded rnix v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebb180592384c3ca2ca14a878e0fa556392e24c3229c0e6dd34544ff86012ec9 [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" "ebb180592384c3ca2ca14a878e0fa556392e24c3229c0e6dd34544ff86012ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebb180592384c3ca2ca14a878e0fa556392e24c3229c0e6dd34544ff86012ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb180592384c3ca2ca14a878e0fa556392e24c3229c0e6dd34544ff86012ec9", kill_on_drop: false }` [INFO] [stdout] ebb180592384c3ca2ca14a878e0fa556392e24c3229c0e6dd34544ff86012ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f75728070ee5435f930b21aa19dae1d1096416e2a0f6609863c8d7f87ba718 [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" "93f75728070ee5435f930b21aa19dae1d1096416e2a0f6609863c8d7f87ba718", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.24.0 [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] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking arenatree v0.1.3 [INFO] [stderr] Checking smol_str v0.1.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking addr2line v0.15.2 [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" "93f75728070ee5435f930b21aa19dae1d1096416e2a0f6609863c8d7f87ba718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f75728070ee5435f930b21aa19dae1d1096416e2a0f6609863c8d7f87ba718", kill_on_drop: false }` [INFO] [stdout] 93f75728070ee5435f930b21aa19dae1d1096416e2a0f6609863c8d7f87ba718