[INFO] cloning repository https://github.com/LeonardoRangel12/rust_todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeonardoRangel12/rust_todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonardoRangel12%2Frust_todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonardoRangel12%2Frust_todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da672d2d9759dee1c0e54f70b03ff3b8d4483877 [INFO] checking LeonardoRangel12/rust_todo against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeonardoRangel12%2Frust_todo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LeonardoRangel12/rust_todo [INFO] finished tweaking git repo https://github.com/LeonardoRangel12/rust_todo [INFO] tweaked toml for git repo https://github.com/LeonardoRangel12/rust_todo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LeonardoRangel12/rust_todo on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LeonardoRangel12/rust_todo 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1197748db53f089878e835740753eebdb3c98c6736d7c7b6d71acbf164cbfa60 [INFO] running `Command { std: "docker" "start" "-a" "1197748db53f089878e835740753eebdb3c98c6736d7c7b6d71acbf164cbfa60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1197748db53f089878e835740753eebdb3c98c6736d7c7b6d71acbf164cbfa60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1197748db53f089878e835740753eebdb3c98c6736d7c7b6d71acbf164cbfa60", kill_on_drop: false }` [INFO] [stdout] 1197748db53f089878e835740753eebdb3c98c6736d7c7b6d71acbf164cbfa60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0327e1ecd4f3e8c94aba1a479f6142c4ec46089edaf458ddd0ce85704dae8a3 [INFO] running `Command { std: "docker" "start" "-a" "f0327e1ecd4f3e8c94aba1a479f6142c4ec46089edaf458ddd0ce85704dae8a3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/file_io.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, BufWriter, Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::form::Form` [INFO] [stdout] --> src/form.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::form::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/file_io.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, BufWriter, Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::form::Form` [INFO] [stdout] --> src/form.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::form::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_todo(usr:&str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn update_todo(usr:&str, index:usize, task:Form) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn delete_todo(usr:&str, index:usize) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn add_todo(usr:&str, task:Form) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => {create_file(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => {let _ = create_file(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_todo(usr:&str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn update_todo(usr:&str, index:usize, task:Form) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn delete_todo(usr:&str, index:usize) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn add_todo(usr:&str, task:Form) -> String{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => {create_file(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => {let _ = create_file(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0327e1ecd4f3e8c94aba1a479f6142c4ec46089edaf458ddd0ce85704dae8a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0327e1ecd4f3e8c94aba1a479f6142c4ec46089edaf458ddd0ce85704dae8a3", kill_on_drop: false }` [INFO] [stdout] f0327e1ecd4f3e8c94aba1a479f6142c4ec46089edaf458ddd0ce85704dae8a3