[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 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjpirt%2Fplant-track" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjpirt/plant-track on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-smithy-async v1.2.1 [INFO] [stderr] Downloaded outref v0.5.1 [INFO] [stderr] Downloaded aws-smithy-query v0.60.7 [INFO] [stderr] Downloaded aws-smithy-http v0.60.8 [INFO] [stderr] Downloaded aws-smithy-json v0.60.7 [INFO] [stderr] Downloaded xmlparser v0.13.6 [INFO] [stderr] Downloaded aws-sigv4 v1.2.1 [INFO] [stderr] Downloaded aws-runtime v1.2.2 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded aws-smithy-types v1.1.9 [INFO] [stderr] Downloaded aws-sdk-sso v1.24.0 [INFO] [stderr] Downloaded rocket_http v0.5.0 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded aws-config v1.4.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.24.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.5.0 [INFO] [stderr] Downloaded toml_edit v0.22.12 [INFO] [stderr] Downloaded rocket v0.5.0 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.6.0 [INFO] [stderr] Downloaded regex-lite v0.1.5 [INFO] [stderr] Downloaded figment v0.10.18 [INFO] [stderr] Downloaded rocket_codegen v0.5.0 [INFO] [stderr] Downloaded syn v2.0.61 [INFO] [stderr] Downloaded rustls-native-certs v0.6.3 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.8 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] [stderr] Downloaded toml v0.8.12 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded aws-sdk-dynamodb v1.27.0 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded http-body-util v0.1.1 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.24.0 [INFO] [stderr] Downloaded aws-credential-types v1.2.0 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded aws-types v1.2.1 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded serde_spanned v0.6.5 [INFO] [stderr] Downloaded devise_codegen v0.4.1 [INFO] [stderr] Downloaded devise_core v0.4.1 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded rustversion v1.0.16 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded random-string v1.1.0 [INFO] [stderr] Downloaded devise v0.4.1 [INFO] [stderr] Downloaded rocket-authorization v1.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.201 [INFO] [stderr] Downloaded serde v1.0.201 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97646f536613cf237f1e75d53dae63707bb82a3eea372db980fdb87b54345250 [INFO] running `Command { std: "docker" "start" "-a" "97646f536613cf237f1e75d53dae63707bb82a3eea372db980fdb87b54345250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97646f536613cf237f1e75d53dae63707bb82a3eea372db980fdb87b54345250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97646f536613cf237f1e75d53dae63707bb82a3eea372db980fdb87b54345250", kill_on_drop: false }` [INFO] [stdout] 97646f536613cf237f1e75d53dae63707bb82a3eea372db980fdb87b54345250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d451d39ebc3424309e0f8ea9a88a54fabe61b734fae42caa78874b7893b0f04 [INFO] running `Command { std: "docker" "start" "-a" "4d451d39ebc3424309e0f8ea9a88a54fabe61b734fae42caa78874b7893b0f04", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling num-conv v0.1.0 [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 slab v0.4.9 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling aws-types v1.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [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 sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.8 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling atomic v0.5.3 [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 base64 v0.22.1 [INFO] [stderr] Compiling aws-smithy-types v1.1.9 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [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 ubyte v0.10.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling random-string v1.1.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling chrono v0.4.38 [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-sso v1.24.0 [INFO] [stderr] Compiling aws-sdk-sts 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 3m 46s [INFO] running `Command { std: "docker" "inspect" "4d451d39ebc3424309e0f8ea9a88a54fabe61b734fae42caa78874b7893b0f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d451d39ebc3424309e0f8ea9a88a54fabe61b734fae42caa78874b7893b0f04", kill_on_drop: false }` [INFO] [stdout] 4d451d39ebc3424309e0f8ea9a88a54fabe61b734fae42caa78874b7893b0f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b0c287a831bd500b00b75e913d66be6dc20eb8fc9bd31064f88a8bbcfcda372 [INFO] running `Command { std: "docker" "start" "-a" "4b0c287a831bd500b00b75e913d66be6dc20eb8fc9bd31064f88a8bbcfcda372", 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "4b0c287a831bd500b00b75e913d66be6dc20eb8fc9bd31064f88a8bbcfcda372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0c287a831bd500b00b75e913d66be6dc20eb8fc9bd31064f88a8bbcfcda372", kill_on_drop: false }` [INFO] [stdout] 4b0c287a831bd500b00b75e913d66be6dc20eb8fc9bd31064f88a8bbcfcda372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee96044b407157e62757e501149e6ecb6e5350193062eaf33ea2ab718c813a11 [INFO] running `Command { std: "docker" "start" "-a" "ee96044b407157e62757e501149e6ecb6e5350193062eaf33ea2ab718c813a11", 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)]` (part of `#[warn(unused)]`) 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.28s [INFO] [stderr] Running unittests src/api/lambda.rs (/opt/rustwide/target/debug/deps/lambda-bc4f511e63c79582) [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] [stderr] Running unittests src/api/server.rs (/opt/rustwide/target/debug/deps/server-2f34c7227d9fd8eb) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test handlers::login::tests::it_returns_error_for_wrong_password ... FAILED [INFO] [stdout] test handlers::create_plant::tests::it_creates_a_new_plant ... FAILED [INFO] [stdout] test handlers::login::tests::it_returns_error_for_unvalidated_user ... FAILED [INFO] [stdout] test handlers::create_user::tests::it_creates_a_new_user ... 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_wrong_password stdout ---- [INFO] [stdout] puzlxxdx8mwj72htqvrk@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::login::tests::it_returns_error_for_unvalidated_user stdout ---- [INFO] [stdout] kz6xux3x8pknl6g2tfrb@test.com [INFO] [stdout] Error: "Error creating 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_a_token_for_the_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'handlers::login::tests::it_returns_a_token_for_the_user' (19) panicked at src/api/handlers/login.rs:41:45: [INFO] [stdout] JWT_SECRET must be set.: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5928174dad52 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5928174dad52 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5928174dad52 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5928174dad52 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5928174ee3cf - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5928174ee3cf - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5928174a62b1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5928174a62b1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5928174b2f82 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5928174b813f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5928174b7fd1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x592816a4751e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x592816a4751e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5928174b88af - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5928174b88af - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5928174b865a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5928174b30c9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59281749965d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5928174f9120 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5928174f7f96 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x5928169f4dfe - core::result::Result::expect::h5cf9eaeadcf54967 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1177:23 [INFO] [stdout] 21: 0x592816a1b5a7 - server::handlers::login::tests::it_returns_a_token_for_the_user::{{closure}}::h5fec63ff0997e8ad [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:41:45 [INFO] [stdout] 22: 0x592816a07deb - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::hdb04abd3e96866f3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/park.rs:281:74 [INFO] [stdout] 23: 0x592816a051c1 - tokio::runtime::coop::with_budget::hddcfbc1389007308 [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] 24: 0x592816a051c1 - tokio::runtime::coop::budget::h3e807df10081b104 [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] 25: 0x592816a051c1 - tokio::runtime::park::CachedParkThread::block_on::h171c147522941634 [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] 26: 0x5928169ffea3 - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h46afca6160ce709b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/blocking.rs:66:14 [INFO] [stdout] 27: 0x5928169f690e - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::hec0aeebb0f97c835 [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:22 [INFO] [stdout] 28: 0x592816a16d52 - tokio::runtime::context::runtime::enter_runtime::h0f64a91bd175d2fd [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] 29: 0x5928169f66b1 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::ha089d666b26375c2 [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] 30: 0x592816a1940f - tokio::runtime::runtime::Runtime::block_on::he7a82f29d1aff11f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:351:50 [INFO] [stdout] 31: 0x592816a1a0fd - rocket::async_run::h2c0b9b58e083efd2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.0/src/lib.rs:247:26 [INFO] [stdout] 32: 0x592816a19a30 - rocket::async_test::h7ae4fd818e097a81 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.0/src/lib.rs:258:5 [INFO] [stdout] 33: 0x592816a1b42f - server::handlers::login::tests::it_returns_a_token_for_the_user::hc08ec9cc441948ae [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:40:70 [INFO] [stdout] 34: 0x592816a1c1ed - server::handlers::login::tests::it_returns_a_token_for_the_user::{{closure}}::h94886fe0ab08a491 [INFO] [stdout] at /opt/rustwide/workdir/src/api/handlers/login.rs:40:51 [INFO] [stdout] 35: 0x5928169ee116 - core::ops::function::FnOnce::call_once::h573b62e68d78f882 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 36: 0x592816a472db - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 37: 0x592816a472db - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 38: 0x592816a5cdc5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 39: 0x592816a5cdc5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x592816a5cdc5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x592816a5cdc5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x592816a5cdc5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x592816a5cdc5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 44: 0x592816a5cdc5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 45: 0x592816a33734 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 46: 0x592816a33734 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 47: 0x592816a370da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 48: 0x592816a370da - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 49: 0x592816a370da - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 50: 0x592816a370da - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 51: 0x592816a370da - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x592816a370da - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 53: 0x592816a370da - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 54: 0x5928174ace1f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 55: 0x5928174ace1f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 56: 0x7e0e82d25aa4 - [INFO] [stdout] 57: 0x7e0e82db2a34 - 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.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin server` [INFO] running `Command { std: "docker" "inspect" "ee96044b407157e62757e501149e6ecb6e5350193062eaf33ea2ab718c813a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee96044b407157e62757e501149e6ecb6e5350193062eaf33ea2ab718c813a11", kill_on_drop: false }` [INFO] [stdout] ee96044b407157e62757e501149e6ecb6e5350193062eaf33ea2ab718c813a11