[INFO] cloning repository https://github.com/retr0mf/Todolist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retr0mf/Todolist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretr0mf%2FTodolist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretr0mf%2FTodolist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 307bd5a110794f38206954eaab903864279359a1 [INFO] checking retr0mf/Todolist against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretr0mf%2FTodolist" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/retr0mf/Todolist [INFO] finished tweaking git repo https://github.com/retr0mf/Todolist [INFO] tweaked toml for git repo https://github.com/retr0mf/Todolist written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/retr0mf/Todolist on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/retr0mf/Todolist 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae7eb75e69498711fee1861d84d1b00b55e65349b7d4d532720a4396c59f8df [INFO] running `Command { std: "docker" "start" "-a" "fae7eb75e69498711fee1861d84d1b00b55e65349b7d4d532720a4396c59f8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae7eb75e69498711fee1861d84d1b00b55e65349b7d4d532720a4396c59f8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae7eb75e69498711fee1861d84d1b00b55e65349b7d4d532720a4396c59f8df", kill_on_drop: false }` [INFO] [stdout] fae7eb75e69498711fee1861d84d1b00b55e65349b7d4d532720a4396c59f8df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58127ea6b5ba7e513d511fa47da7dcfafc2850c792635cc437625783ec418c6d [INFO] running `Command { std: "docker" "start" "-a" "58127ea6b5ba7e513d511fa47da7dcfafc2850c792635cc437625783ec418c6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Checking serde v1.0.225 [INFO] [stderr] Checking Todolist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/types.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | if(needed_spaces > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if(needed_spaces > 0) { [INFO] [stdout] 43 + if needed_spaces > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/types.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | if(needed_spaces > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if(needed_spaces > 0) { [INFO] [stdout] 43 + if needed_spaces > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `command_argv` is never read [INFO] [stdout] --> src/app/app.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut command_argv: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `command_argv` is never read [INFO] [stdout] --> src/app/app.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut command_argv: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmd_history` is never read [INFO] [stdout] --> src/app/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TodoApplication { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | cmd_history: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cmd_history` is never read [INFO] [stdout] --> src/app/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TodoApplication { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | cmd_history: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/app/types.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Note { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn create(title: String, contents: String) -> Note { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/app/types.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Note { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn create(title: String, contents: String) -> Note { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_note_by_ind` are never used [INFO] [stdout] --> src/app/types.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Folder { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(new_title: String) -> Folder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_note_by_ind(&self, index: usize) -> &Note { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_note_by_ind` are never used [INFO] [stdout] --> src/app/types.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Folder { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 73 | pub fn new(new_title: String) -> Folder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_note_by_ind(&self, index: usize) -> &Note { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "58127ea6b5ba7e513d511fa47da7dcfafc2850c792635cc437625783ec418c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58127ea6b5ba7e513d511fa47da7dcfafc2850c792635cc437625783ec418c6d", kill_on_drop: false }` [INFO] [stdout] 58127ea6b5ba7e513d511fa47da7dcfafc2850c792635cc437625783ec418c6d