[INFO] fetching crate nodes 0.1.0... [INFO] checking nodes-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate nodes 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate nodes 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nodes 0.1.0 [INFO] finished tweaking crates.io crate nodes 0.1.0 [INFO] tweaked toml for crates.io crate nodes 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding memchr v1.0.2 (latest: v2.7.2) [INFO] [stderr] Adding nom v3.2.1 (latest: v7.1.3) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.12) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 644b74e4b8d13cb59b9cc8f3a4dbad1690f6f311436aad8877d391895abc5c84 [INFO] running `Command { std: "docker" "start" "-a" "644b74e4b8d13cb59b9cc8f3a4dbad1690f6f311436aad8877d391895abc5c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "644b74e4b8d13cb59b9cc8f3a4dbad1690f6f311436aad8877d391895abc5c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644b74e4b8d13cb59b9cc8f3a4dbad1690f6f311436aad8877d391895abc5c84", kill_on_drop: false }` [INFO] [stdout] 644b74e4b8d13cb59b9cc8f3a4dbad1690f6f311436aad8877d391895abc5c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a54ce27db9a89f9a4769910a50e84cfd5c1fb083d6b8f1a6d1aa64e435ac2b0 [INFO] running `Command { std: "docker" "start" "-a" "8a54ce27db9a89f9a4769910a50e84cfd5c1fb083d6b8f1a6d1aa64e435ac2b0", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking nodes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/config.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pattern.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/config.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pattern.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | env::home_dir().expect("Could not retrieve home directory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | env::home_dir().expect("Could not retrieve home directory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> cli/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::clap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> cli/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::clap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nodes` is imported redundantly [INFO] [stdout] --> cli/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::nodes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate nodes; [INFO] [stdout] | ------------------- the item `nodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nodes` is imported redundantly [INFO] [stdout] --> cli/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::nodes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate nodes; [INFO] [stdout] | ------------------- the item `nodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut val = val.replace(";", "\n"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut meta = match node.load_meta() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut val = val.replace(";", "\n"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut meta = match node.load_meta() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:285:53 [INFO] [stdout] | [INFO] [stdout] 285 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:285:53 [INFO] [stdout] | [INFO] [stdout] 285 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8a54ce27db9a89f9a4769910a50e84cfd5c1fb083d6b8f1a6d1aa64e435ac2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a54ce27db9a89f9a4769910a50e84cfd5c1fb083d6b8f1a6d1aa64e435ac2b0", kill_on_drop: false }` [INFO] [stdout] 8a54ce27db9a89f9a4769910a50e84cfd5c1fb083d6b8f1a6d1aa64e435ac2b0 [INFO] checking nodes-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate nodes 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate nodes 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nodes 0.1.0 [INFO] finished tweaking crates.io crate nodes 0.1.0 [INFO] tweaked toml for crates.io crate nodes 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8e7e1b4aaf8a2dd953ad0536b232405bcf3c8db624297cb6a5bc122a7a73bd [INFO] running `Command { std: "docker" "start" "-a" "0a8e7e1b4aaf8a2dd953ad0536b232405bcf3c8db624297cb6a5bc122a7a73bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8e7e1b4aaf8a2dd953ad0536b232405bcf3c8db624297cb6a5bc122a7a73bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8e7e1b4aaf8a2dd953ad0536b232405bcf3c8db624297cb6a5bc122a7a73bd", kill_on_drop: false }` [INFO] [stdout] 0a8e7e1b4aaf8a2dd953ad0536b232405bcf3c8db624297cb6a5bc122a7a73bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7261c9bd63c579636dbbc7a34cf97f15a8f086292433a5a263b0e3fc1a85f7a [INFO] running `Command { std: "docker" "start" "-a" "c7261c9bd63c579636dbbc7a34cf97f15a8f086292433a5a263b0e3fc1a85f7a", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking nodes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/config.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pattern.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/config.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pattern.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | env::home_dir().expect("Could not retrieve home directory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | env::home_dir().expect("Could not retrieve home directory") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> cli/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::clap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nodes` is imported redundantly [INFO] [stdout] --> cli/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::nodes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate nodes; [INFO] [stdout] | ------------------- the item `nodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> cli/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::clap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nodes` is imported redundantly [INFO] [stdout] --> cli/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::nodes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate nodes; [INFO] [stdout] | ------------------- the item `nodes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cli/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut val = val.replace(";", "\n"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut val = val.replace(";", "\n"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut meta = match node.load_meta() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut meta = match node.load_meta() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cli/commands.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:285:53 [INFO] [stdout] | [INFO] [stdout] 285 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> cli/commands.rs:285:53 [INFO] [stdout] | [INFO] [stdout] 285 | meta.set("type", toml::Value::from(node_type.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c7261c9bd63c579636dbbc7a34cf97f15a8f086292433a5a263b0e3fc1a85f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7261c9bd63c579636dbbc7a34cf97f15a8f086292433a5a263b0e3fc1a85f7a", kill_on_drop: false }` [INFO] [stdout] c7261c9bd63c579636dbbc7a34cf97f15a8f086292433a5a263b0e3fc1a85f7a