[INFO] cloning repository https://github.com/CliffM1967/label [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CliffM1967/label" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCliffM1967%2Flabel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCliffM1967%2Flabel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 458e8234442085228405ec85b5e3d6af54605427 [INFO] checking CliffM1967/label/458e8234442085228405ec85b5e3d6af54605427 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCliffM1967%2Flabel" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CliffM1967/label on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CliffM1967/label [INFO] finished tweaking git repo https://github.com/CliffM1967/label [INFO] tweaked toml for git repo https://github.com/CliffM1967/label written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CliffM1967/label already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bf83607c6cac1e0d50e54b0cc9b07995cced7fb73f97121ed89631525793bbf [INFO] running `Command { std: "docker" "start" "-a" "4bf83607c6cac1e0d50e54b0cc9b07995cced7fb73f97121ed89631525793bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bf83607c6cac1e0d50e54b0cc9b07995cced7fb73f97121ed89631525793bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf83607c6cac1e0d50e54b0cc9b07995cced7fb73f97121ed89631525793bbf", kill_on_drop: false }` [INFO] [stdout] 4bf83607c6cac1e0d50e54b0cc9b07995cced7fb73f97121ed89631525793bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b726efdc8a694144acede819bd2a62df81a04dbd14a9e2c66365e90a0250bf0 [INFO] running `Command { std: "docker" "start" "-a" "0b726efdc8a694144acede819bd2a62df81a04dbd14a9e2c66365e90a0250bf0", kill_on_drop: false }` [INFO] [stderr] Checking label v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{stderr, stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::replace` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{stderr, stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::replace` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = "foobar".to_string(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se` [INFO] [stdout] --> src/lib.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | StackEntry::Environment(se) => return false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_se` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se` [INFO] [stdout] --> src/lib.rs:135:49 [INFO] [stdout] | [INFO] [stdout] 135 | StackEntry::Environment(se) => return false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_se` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut new_env = Self::new_shared(); [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: unused variable: `message` [INFO] [stdout] --> src/lib.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | fn stack_pop_env(stack: &mut Stack, message: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let mut env = Environment::new_shared(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/lib.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let mut history = Vec::::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | let mut history = Vec::::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = "foobar".to_string(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se` [INFO] [stdout] --> src/lib.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | StackEntry::Environment(se) => return false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_se` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se` [INFO] [stdout] --> src/lib.rs:135:49 [INFO] [stdout] | [INFO] [stdout] 135 | StackEntry::Environment(se) => return false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_se` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut new_env = Self::new_shared(); [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: unused variable: `message` [INFO] [stdout] --> src/lib.rs:324:37 [INFO] [stdout] | [INFO] [stdout] 324 | fn stack_pop_env(stack: &mut Stack, message: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let mut env = Environment::new_shared(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/lib.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let mut history = Vec::::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Environment` is more private than the item `StackEntry::Environment::0` [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Environment(SharedEnvironment), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `StackEntry::Environment::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Environment` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | struct Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shared_equals2` and `contains` are never used [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn shared_equals2(e1: SharedEnvironment, e2: SharedEnvironment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn contains(&self, key: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | let mut history = Vec::::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_to_result` is never used [INFO] [stdout] --> src/lib.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn option_to_result(option: Option, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_env` is never used [INFO] [stdout] --> src/lib.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl StackEntry { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | fn get_env(&self) -> SharedEnvironment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_pop` is never used [INFO] [stdout] --> src/lib.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn stack_pop(stack: &mut Stack) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_pop_env` is never used [INFO] [stdout] --> src/lib.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn stack_pop_env(stack: &mut Stack, message: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/lib.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn run(program: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Environment` is more private than the item `StackEntry::Environment::0` [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Environment(SharedEnvironment), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `StackEntry::Environment::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Environment` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | struct Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shared_equals2` and `contains` are never used [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn shared_equals2(e1: SharedEnvironment, e2: SharedEnvironment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn contains(&self, key: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_to_result` is never used [INFO] [stdout] --> src/lib.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn option_to_result(option: Option, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_env` is never used [INFO] [stdout] --> src/lib.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl StackEntry { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | fn get_env(&self) -> SharedEnvironment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_pop` is never used [INFO] [stdout] --> src/lib.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn stack_pop(stack: &mut Stack) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_pop_env` is never used [INFO] [stdout] --> src/lib.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn stack_pop_env(stack: &mut Stack, message: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "0b726efdc8a694144acede819bd2a62df81a04dbd14a9e2c66365e90a0250bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b726efdc8a694144acede819bd2a62df81a04dbd14a9e2c66365e90a0250bf0", kill_on_drop: false }` [INFO] [stdout] 0b726efdc8a694144acede819bd2a62df81a04dbd14a9e2c66365e90a0250bf0