[INFO] cloning repository https://github.com/sj4nes/ifnotnow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sj4nes/ifnotnow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18ce480d2197bd9f3f553177cf90d15766bed9cb [INFO] testing sj4nes/ifnotnow against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sj4nes/ifnotnow on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sj4nes/ifnotnow [INFO] finished tweaking git repo https://github.com/sj4nes/ifnotnow [INFO] tweaked toml for git repo https://github.com/sj4nes/ifnotnow written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/sj4nes/ifnotnow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] [stderr] Downloaded serde_yaml v0.8.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2121c001f3ad0789c00fe781cff7e4f66cd48aaa108963eda6135fb991a521d8 [INFO] running `Command { std: "docker" "start" "-a" "2121c001f3ad0789c00fe781cff7e4f66cd48aaa108963eda6135fb991a521d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2121c001f3ad0789c00fe781cff7e4f66cd48aaa108963eda6135fb991a521d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2121c001f3ad0789c00fe781cff7e4f66cd48aaa108963eda6135fb991a521d8", kill_on_drop: false }` [INFO] [stdout] 2121c001f3ad0789c00fe781cff7e4f66cd48aaa108963eda6135fb991a521d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9632e9991f9f7019bd16ae3055f5a3178e6ff4f28cda27ae4d3713e1921554a [INFO] running `Command { std: "docker" "start" "-a" "d9632e9991f9f7019bd16ae3055f5a3178e6ff4f28cda27ae4d3713e1921554a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ifnotnow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | ("help", Some(args)) => Cmd::Help, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | ("now", Some(args)) => Cmd::Noop, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxc` [INFO] [stdout] --> src/main.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | Cmd::Context(cxc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/main.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn matches(&self, pattern: Pattern) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/contexts.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | fn init(flags: Self::Flags) -> (Self::Model, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxc` [INFO] [stdout] --> src/contexts.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | cxc: Self::Msg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/contexts.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn view(model: Self::Model) -> (Self::View, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/larch.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/larch.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/larch.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [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] --> src/larch.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_errors` [INFO] [stdout] --> src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_errors(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `filename` [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn load(name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn new() -> ListMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn add(&mut self, listname: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn drop(&mut self, listname: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_add` [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn run_add(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_list` [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn render_list(list: &ListV1, indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_now` [INFO] [stdout] --> src/main.rs:380:4 [INFO] [stdout] | [INFO] [stdout] 380 | fn run_now(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.23s [INFO] running `Command { std: "docker" "inspect" "d9632e9991f9f7019bd16ae3055f5a3178e6ff4f28cda27ae4d3713e1921554a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9632e9991f9f7019bd16ae3055f5a3178e6ff4f28cda27ae4d3713e1921554a", kill_on_drop: false }` [INFO] [stdout] d9632e9991f9f7019bd16ae3055f5a3178e6ff4f28cda27ae4d3713e1921554a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f8cc603ef05498dee993ddb8b3f30c04a9d462fad59686a7ef5b7468c6463e0 [INFO] running `Command { std: "docker" "start" "-a" "4f8cc603ef05498dee993ddb8b3f30c04a9d462fad59686a7ef5b7468c6463e0", kill_on_drop: false }` [INFO] [stderr] Compiling ifnotnow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | ("help", Some(args)) => Cmd::Help, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | ("now", Some(args)) => Cmd::Noop, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxc` [INFO] [stdout] --> src/main.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | Cmd::Context(cxc) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/main.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn matches(&self, pattern: Pattern) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/contexts.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | fn init(flags: Self::Flags) -> (Self::Model, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxc` [INFO] [stdout] --> src/contexts.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | cxc: Self::Msg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/contexts.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn view(model: Self::Model) -> (Self::View, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/larch.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/larch.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/larch.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [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] --> src/larch.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_errors` [INFO] [stdout] --> src/main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_errors(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `filename` [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn load(name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn new() -> ListMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn add(&mut self, listname: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn drop(&mut self, listname: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_add` [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn run_add(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_list` [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn render_list(list: &ListV1, indent: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_now` [INFO] [stdout] --> src/main.rs:380:4 [INFO] [stdout] | [INFO] [stdout] 380 | fn run_now(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "4f8cc603ef05498dee993ddb8b3f30c04a9d462fad59686a7ef5b7468c6463e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8cc603ef05498dee993ddb8b3f30c04a9d462fad59686a7ef5b7468c6463e0", kill_on_drop: false }` [INFO] [stdout] 4f8cc603ef05498dee993ddb8b3f30c04a9d462fad59686a7ef5b7468c6463e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 334e86a08913c5a72b0930b8d1aa75ca524f7c0fef8a5825b83d12867976c611 [INFO] running `Command { std: "docker" "start" "-a" "334e86a08913c5a72b0930b8d1aa75ca524f7c0fef8a5825b83d12867976c611", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:289:23 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] 289 | ("help", Some(args)) => Cmd::Help, [INFO] [stdout] [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:290:22 [INFO] [stderr] | [INFO] [stderr] 290 | ("now", Some(args)) => Cmd::Noop, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cxc` [INFO] [stderr] --> src/main.rs:298:26 [INFO] [stderr] | [INFO] [stderr] 298 | Cmd::Context(cxc) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/main.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | fn matches(&self, pattern: Pattern) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/contexts.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | fn init(flags: Self::Flags) -> (Self::Model, Option) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cxc` [INFO] [stderr] --> src/contexts.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | cxc: Self::Msg, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cxc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/contexts.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | fn view(model: Self::Model) -> (Self::View, Option) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/larch.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/larch.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/larch.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/larch.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | let (mut model, mut msg) = Self::init(flags); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_errors` [INFO] [stderr] --> src/main.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn check_errors(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `filename` [INFO] [stderr] --> src/main.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | fn filename(name: &str) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/main.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | fn load(name: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:207:8 [INFO] [stderr] | [INFO] [stderr] 207 | fn new() -> ListMap { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/main.rs:212:8 [INFO] [stderr] | [INFO] [stderr] 212 | fn add(&mut self, listname: &str) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `drop` [INFO] [stderr] --> src/main.rs:216:8 [INFO] [stderr] | [INFO] [stderr] 216 | fn drop(&mut self, listname: &str) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_add` [INFO] [stderr] --> src/main.rs:325:4 [INFO] [stderr] | [INFO] [stderr] 325 | fn run_add(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `render_list` [INFO] [stderr] --> src/main.rs:344:4 [INFO] [stderr] | [INFO] [stderr] 344 | fn render_list(list: &ListV1, indent: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_now` [INFO] [stderr] --> src/main.rs:380:4 [INFO] [stderr] | [INFO] [stderr] 380 | fn run_now(matches: &ArgMatches) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ifnotnow-030f242fd976aba8) [INFO] running `Command { std: "docker" "inspect" "334e86a08913c5a72b0930b8d1aa75ca524f7c0fef8a5825b83d12867976c611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334e86a08913c5a72b0930b8d1aa75ca524f7c0fef8a5825b83d12867976c611", kill_on_drop: false }` [INFO] [stdout] 334e86a08913c5a72b0930b8d1aa75ca524f7c0fef8a5825b83d12867976c611