[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#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretr0mf%2FTodolist" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/retr0mf/Todolist on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c63f39c4e018823e84c4dace520a3a68c59a736d7ae52ae207bf32eaa6de5da [INFO] running `Command { std: "docker" "start" "-a" "4c63f39c4e018823e84c4dace520a3a68c59a736d7ae52ae207bf32eaa6de5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c63f39c4e018823e84c4dace520a3a68c59a736d7ae52ae207bf32eaa6de5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c63f39c4e018823e84c4dace520a3a68c59a736d7ae52ae207bf32eaa6de5da", kill_on_drop: false }` [INFO] [stdout] 4c63f39c4e018823e84c4dace520a3a68c59a736d7ae52ae207bf32eaa6de5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c491ce83bf94d96dfb045a26e9a41f492b0ff6e544fcc146f99030d8df99f3a [INFO] running `Command { std: "docker" "start" "-a" "3c491ce83bf94d96dfb045a26e9a41f492b0ff6e544fcc146f99030d8df99f3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.42 [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 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: 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 4.28s [INFO] running `Command { std: "docker" "inspect" "3c491ce83bf94d96dfb045a26e9a41f492b0ff6e544fcc146f99030d8df99f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c491ce83bf94d96dfb045a26e9a41f492b0ff6e544fcc146f99030d8df99f3a", kill_on_drop: false }` [INFO] [stdout] 3c491ce83bf94d96dfb045a26e9a41f492b0ff6e544fcc146f99030d8df99f3a