[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] checking sj4nes/ifnotnow against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sj4nes/ifnotnow on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-5/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25d45876d72b09362eb531cc6da7a45008b464d51bf674a081f2ab9871ca8f90 [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" "25d45876d72b09362eb531cc6da7a45008b464d51bf674a081f2ab9871ca8f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25d45876d72b09362eb531cc6da7a45008b464d51bf674a081f2ab9871ca8f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d45876d72b09362eb531cc6da7a45008b464d51bf674a081f2ab9871ca8f90", kill_on_drop: false }` [INFO] [stdout] 25d45876d72b09362eb531cc6da7a45008b464d51bf674a081f2ab9871ca8f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90835eecce80f0ae95917267867953a5a920808d8b15f73e3dca95cae117e8e6 [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" "90835eecce80f0ae95917267867953a5a920808d8b15f73e3dca95cae117e8e6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking 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: 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] [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 39.08s [INFO] running `Command { std: "docker" "inspect" "90835eecce80f0ae95917267867953a5a920808d8b15f73e3dca95cae117e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90835eecce80f0ae95917267867953a5a920808d8b15f73e3dca95cae117e8e6", kill_on_drop: false }` [INFO] [stdout] 90835eecce80f0ae95917267867953a5a920808d8b15f73e3dca95cae117e8e6