[INFO] cloning repository https://github.com/bjpirt/plant-track [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjpirt/plant-track" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjpirt%2Fplant-track", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjpirt%2Fplant-track'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6af97d7a719ee8549fd56af9e9708495877fa75e [INFO] checking bjpirt/plant-track 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%2Fbjpirt%2Fplant-track" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bjpirt/plant-track [INFO] finished tweaking git repo https://github.com/bjpirt/plant-track [INFO] tweaked toml for git repo https://github.com/bjpirt/plant-track written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjpirt/plant-track 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/bjpirt/plant-track 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8c3f163129c126b76ad54fc14f0346b4abd8ebc0899be7876f35b516dc146e4c [INFO] running `Command { std: "docker" "start" "-a" "8c3f163129c126b76ad54fc14f0346b4abd8ebc0899be7876f35b516dc146e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c3f163129c126b76ad54fc14f0346b4abd8ebc0899be7876f35b516dc146e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3f163129c126b76ad54fc14f0346b4abd8ebc0899be7876f35b516dc146e4c", kill_on_drop: false }` [INFO] [stdout] 8c3f163129c126b76ad54fc14f0346b4abd8ebc0899be7876f35b516dc146e4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 758e87b621dc0c7b024bc1964fa6ffa38331d5c2f6ed7390d5abf6d65f3e8b06 [INFO] running `Command { std: "docker" "start" "-a" "758e87b621dc0c7b024bc1964fa6ffa38331d5c2f6ed7390d5abf6d65f3e8b06", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling aws-types v1.2.1 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [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 linux-raw-sys v0.4.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking random-string v1.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [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 rocket_http v0.5.0 [INFO] [stderr] Checking thiserror v1.0.60 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking aws-smithy-types v1.1.9 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking aws-smithy-runtime-api v1.6.0 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking aws-smithy-http v0.60.8 [INFO] [stderr] Checking aws-credential-types v1.2.0 [INFO] [stderr] Checking aws-sigv4 v1.2.1 [INFO] [stderr] Checking aws-runtime v1.2.2 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.5.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.24.0 [INFO] [stderr] Checking aws-sdk-sts v1.24.0 [INFO] [stderr] Checking aws-sdk-sso v1.24.0 [INFO] [stderr] Checking aws-sdk-dynamodb v1.27.0 [INFO] [stderr] Checking aws-config v1.4.0 [INFO] [stderr] Checking rocket-authorization v1.0.0 [INFO] [stderr] Checking plant-track v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/api/server.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/api/server.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/api/server.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | username: &str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plant-track` (bin "server") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `get_user` and `get_plant` are never used [INFO] [stdout] --> src/api/db/base_gateway.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BaseGateway { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | async fn get_user(&self, user_id: &str) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | async fn get_plant(&self, plant_id: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/api/server.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | username: &str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plant-track` (bin "server" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "758e87b621dc0c7b024bc1964fa6ffa38331d5c2f6ed7390d5abf6d65f3e8b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758e87b621dc0c7b024bc1964fa6ffa38331d5c2f6ed7390d5abf6d65f3e8b06", kill_on_drop: false }` [INFO] [stdout] 758e87b621dc0c7b024bc1964fa6ffa38331d5c2f6ed7390d5abf6d65f3e8b06