[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] testing bjpirt/plant-track/6af97d7a719ee8549fd56af9e9708495877fa75e against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjpirt%2Fplant-track" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjpirt/plant-track on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-sigv4 v1.2.1 [INFO] [stderr] Downloaded aws-types v1.2.1 [INFO] [stderr] Downloaded rocket-authorization v1.0.0 [INFO] [stderr] Downloaded aws-runtime v1.2.2 [INFO] [stderr] Downloaded aws-smithy-types v1.1.9 [INFO] [stderr] Downloaded aws-sdk-sso v1.24.0 [INFO] [stderr] Downloaded aws-config v1.4.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.5.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.24.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.24.0 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.6.0 [INFO] [stderr] Downloaded aws-sdk-dynamodb v1.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39c11d85f40605daef4c8875e427472afd84e2eaf19a219dfabc0f44ae2d6c2f [INFO] running `Command { std: "docker" "start" "-a" "39c11d85f40605daef4c8875e427472afd84e2eaf19a219dfabc0f44ae2d6c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c11d85f40605daef4c8875e427472afd84e2eaf19a219dfabc0f44ae2d6c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c11d85f40605daef4c8875e427472afd84e2eaf19a219dfabc0f44ae2d6c2f", kill_on_drop: false }` [INFO] [stdout] 39c11d85f40605daef4c8875e427472afd84e2eaf19a219dfabc0f44ae2d6c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a340b214aeb5f4400a4806982614ae01a9bf444378f10ed9a70330be8fe919d [INFO] running `Command { std: "docker" "start" "-a" "7a340b214aeb5f4400a4806982614ae01a9bf444378f10ed9a70330be8fe919d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling aws-types v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling aws-smithy-xml v0.60.8 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling random-string v1.1.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [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] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pear v0.2.9 [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] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling aws-smithy-async v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling aws-smithy-types v1.1.9 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.6.0 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling aws-credential-types v1.2.0 [INFO] [stderr] Compiling aws-smithy-http v0.60.8 [INFO] [stderr] Compiling aws-sigv4 v1.2.1 [INFO] [stderr] Compiling aws-runtime v1.2.2 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.5.0 [INFO] [stderr] Compiling aws-sdk-sts v1.24.0 [INFO] [stderr] Compiling aws-sdk-sso v1.24.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.24.0 [INFO] [stderr] Compiling aws-sdk-dynamodb v1.27.0 [INFO] [stderr] Compiling aws-config v1.4.0 [INFO] [stderr] Compiling rocket-authorization v1.0.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "7a340b214aeb5f4400a4806982614ae01a9bf444378f10ed9a70330be8fe919d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a340b214aeb5f4400a4806982614ae01a9bf444378f10ed9a70330be8fe919d", kill_on_drop: false }` [INFO] [stdout] 7a340b214aeb5f4400a4806982614ae01a9bf444378f10ed9a70330be8fe919d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18959c0c487c4739f0f2e5568167f4d01251395532032810d42ff734e39c6743 [INFO] running `Command { std: "docker" "start" "-a" "18959c0c487c4739f0f2e5568167f4d01251395532032810d42ff734e39c6743", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.51s [INFO] running `Command { std: "docker" "inspect" "18959c0c487c4739f0f2e5568167f4d01251395532032810d42ff734e39c6743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18959c0c487c4739f0f2e5568167f4d01251395532032810d42ff734e39c6743", kill_on_drop: false }` [INFO] [stdout] 18959c0c487c4739f0f2e5568167f4d01251395532032810d42ff734e39c6743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3cb981bb0c0dcf59b4f6fcb0ae72e92df4a296454495692c45b9a66805a64a11 [INFO] running `Command { std: "docker" "start" "-a" "3cb981bb0c0dcf59b4f6fcb0ae72e92df4a296454495692c45b9a66805a64a11", kill_on_drop: false }` [INFO] [stderr] warning: found module declaration for lib.rs [INFO] [stderr] --> src/api/server.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | mod lib; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lib.rs is the root of this crate's library target [INFO] [stderr] = help: to refer to it from other targets, use the library's name as the path [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_user` and `get_plant` are never used [INFO] [stderr] --> src/api/db/base_gateway.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait BaseGateway { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 6 | async fn get_user(&self, user_id: &str) -> Result; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | async fn get_plant(&self, plant_id: &str) -> Result; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `plant-track` (bin "server" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/api/lambda.rs (/opt/rustwide/target/debug/deps/lambda-3d8269f22c6b645c) [INFO] [stderr] Running unittests src/api/server.rs (/opt/rustwide/target/debug/deps/server-2e5097f684ffa593) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test handlers::login::tests::it_returns_error_for_unvalidated_user ... FAILED [INFO] [stdout] test handlers::create_plant::tests::it_creates_a_new_plant ... FAILED [INFO] [stdout] test handlers::create_user::tests::it_creates_a_new_user ... FAILED [INFO] [stdout] test handlers::login::tests::it_returns_error_for_wrong_password ... FAILED [INFO] [stdout] test handlers::login::tests::it_returns_a_token_for_the_user ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- handlers::login::tests::it_returns_error_for_unvalidated_user stdout ---- [INFO] [stdout] 7nvwncxhzjrctvtpza8f@test.com [INFO] [stdout] Error: "Error creating user" [INFO] [stdout] [INFO] [stdout] ---- handlers::create_plant::tests::it_creates_a_new_plant stdout ---- [INFO] [stdout] Error: "Error fetching plants for user" [INFO] [stdout] [INFO] [stdout] ---- handlers::create_user::tests::it_creates_a_new_user stdout ---- [INFO] [stdout] Error: "Error creating plant for user" [INFO] [stdout] [INFO] [stdout] ---- handlers::login::tests::it_returns_error_for_wrong_password stdout ---- [INFO] [stdout] r43ynujbrjmxxedhv843@test.com [INFO] [stdout] Error: "Error creating user" [INFO] [stdout] [INFO] [stdout] ---- handlers::login::tests::it_returns_a_token_for_the_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'handlers::login::tests::it_returns_a_token_for_the_user' panicked at src/api/handlers/login.rs:41:45: [INFO] [stdout] JWT_SECRET must be set.: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58000682b050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58000682b050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58000682b050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58000682b050 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x580006857b73 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x580006857b73 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5800068272a3 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x58000682aea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x58000682c47f - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x58000682c298 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x580005cdcf45 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x580005cdcf45 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x58000682cef3 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x58000682cef3 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x58000682cbca - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x58000682b569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x58000682c85d - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x580005c42530 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x580005c42a36 - core::result::unwrap_failed::h3ff7104a9ace307a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x580005c74466 - core::result::Result::expect::hf7f54c4e60424360 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1061:23 [INFO] [stdout] 20: 0x580005c8f277 - server::handlers::login::tests::it_returns_a_token_for_the_user::{{closure}}::hf1436bc1e1834232 [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:41:22 [INFO] [stdout] 21: 0x580005ca2e8e - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h526baee31bc2b127 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/park.rs:281:63 [INFO] [stdout] 22: 0x580005ca07ff - tokio::runtime::coop::with_budget::h2ecabdb9ab10975a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 23: 0x580005ca07ff - tokio::runtime::coop::budget::h26ac26afe73744b9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 24: 0x580005ca07ff - tokio::runtime::park::CachedParkThread::block_on::h32d9fa6a7f1be511 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/park.rs:281:31 [INFO] [stdout] 25: 0x580005c75703 - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::he279a64494e2ea84 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/blocking.rs:66:9 [INFO] [stdout] 26: 0x580005c70e8e - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::hf998dab6e7e08a07 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/multi_thread/mod.rs:87:13 [INFO] [stdout] 27: 0x580005c6ed48 - tokio::runtime::context::runtime::enter_runtime::h7fe01ae2b296e386 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 28: 0x580005c70b31 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h285cec0a85ce6eb5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/multi_thread/mod.rs:86:9 [INFO] [stdout] 29: 0x580005c88af6 - tokio::runtime::runtime::Runtime::block_on::hba07b5122d4bbe4a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:351:45 [INFO] [stdout] 30: 0x580005c5d94d - rocket::async_run::h71003d7c82d6c5af [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.0/src/lib.rs:247:18 [INFO] [stdout] 31: 0x580005c5cea0 - rocket::async_test::h6da53a30c47565e4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.0/src/lib.rs:258:5 [INFO] [stdout] 32: 0x580005c8f0ff - server::handlers::login::tests::it_returns_a_token_for_the_user::h926641cd5d4be7e8 [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:40:70 [INFO] [stdout] 33: 0x580005c8f0ad - server::handlers::login::tests::it_returns_a_token_for_the_user::{{closure}}::h0aee626d80cd2bd3 [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:40:51 [INFO] [stdout] 34: 0x580005c53426 - core::ops::function::FnOnce::call_once::hb4b7fe42aec3908b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 35: 0x580005ce26cb - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 36: 0x580005ce26cb - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 37: 0x580005ce15b8 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 38: 0x580005ce15b8 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x580005ce15b8 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 40: 0x580005ce15b8 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 41: 0x580005ce15b8 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 42: 0x580005ce15b8 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 43: 0x580005ce15b8 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 44: 0x580005ca5545 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 45: 0x580005ca5545 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 46: 0x580005ca8fba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 47: 0x580005ca8fba - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 48: 0x580005ca8fba - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 49: 0x580005ca8fba - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 50: 0x580005ca8fba - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 51: 0x580005ca8fba - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 52: 0x580005ca8fba - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 53: 0x58000683100b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 54: 0x58000683100b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 55: 0x58000683100b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 56: 0x7d3ecf683aa4 - [INFO] [stdout] 57: 0x7d3ecf710a34 - clone [INFO] [stdout] 58: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] handlers::create_plant::tests::it_creates_a_new_plant [INFO] [stdout] handlers::create_user::tests::it_creates_a_new_user [INFO] [stdout] handlers::login::tests::it_returns_a_token_for_the_user [INFO] [stdout] handlers::login::tests::it_returns_error_for_unvalidated_user [INFO] [stdout] handlers::login::tests::it_returns_error_for_wrong_password [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin server` [INFO] running `Command { std: "docker" "inspect" "3cb981bb0c0dcf59b4f6fcb0ae72e92df4a296454495692c45b9a66805a64a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb981bb0c0dcf59b4f6fcb0ae72e92df4a296454495692c45b9a66805a64a11", kill_on_drop: false }` [INFO] [stdout] 3cb981bb0c0dcf59b4f6fcb0ae72e92df4a296454495692c45b9a66805a64a11