[INFO] cloning repository https://github.com/keshipi/rust-todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keshipi/rust-todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeshipi%2Frust-todo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeshipi%2Frust-todo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bcf0757402ae6d7c10f417c9e318f2ea21fb40c [INFO] testing keshipi/rust-todo-app against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeshipi%2Frust-todo-app" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/keshipi/rust-todo-app [INFO] finished tweaking git repo https://github.com/keshipi/rust-todo-app [INFO] tweaked toml for git repo https://github.com/keshipi/rust-todo-app written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/keshipi/rust-todo-app on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/keshipi/rust-todo-app 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded unicode-ident v1.0.5 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded tokio-macros v1.8.0 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded thiserror-impl v1.0.37 [INFO] [stderr] Downloaded either v1.8.0 [INFO] [stderr] Downloaded whoami v1.2.3 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded generic-array v0.14.6 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.83 [INFO] [stderr] Downloaded crossbeam-queue v0.3.6 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded once_cell v1.15.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.83 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded slab v0.4.7 [INFO] [stderr] Downloaded async-trait v0.1.58 [INFO] [stderr] Downloaded thiserror v1.0.37 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Downloaded cpufeatures v0.2.5 [INFO] [stderr] Downloaded paste v1.0.9 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded socket2 v0.4.7 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded tokio-stream v0.1.11 [INFO] [stderr] Downloaded parking_lot_core v0.9.4 [INFO] [stderr] Downloaded bytes v1.2.1 [INFO] [stderr] Downloaded cc v1.0.74 [INFO] [stderr] Downloaded crossbeam-utils v0.8.12 [INFO] [stderr] Downloaded anyhow v1.0.66 [INFO] [stderr] Downloaded proc-macro2 v1.0.47 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded js-sys v0.3.60 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded syn v1.0.103 [INFO] [stderr] Downloaded serde v1.0.147 [INFO] [stderr] Downloaded bumpalo v3.11.1 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded serde_derive v1.0.147 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded mio v0.8.5 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded http v0.2.8 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded unicode-segmentation v1.10.0 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded serde_json v1.0.87 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded wasm-bindgen v0.2.83 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] [stderr] Downloaded tokio v1.21.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c [INFO] running `Command { std: "docker" "start" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling cc v1.0.74 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling whoami v1.2.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/repositories/todo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror::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: variant `Duplicate` is never constructed [INFO] [stdout] --> src/repositories.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum RepositoryError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Duplicate(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LabelRepository` is never used [INFO] [stdout] --> src/repositories/label.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait LabelRepository: Clone + std::marker::Send + std::marker::Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/repositories/label.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateLabel` is never constructed [INFO] [stdout] --> src/repositories/label.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UpdateLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LabelRepositoryForDb` is never constructed [INFO] [stdout] --> src/repositories/label.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LabelRepositoryForDb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/label.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl LabelRepositoryForDb { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/repositories/todo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror::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: struct `UpdateLabel` is never constructed [INFO] [stdout] --> src/repositories/label.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UpdateLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories/todo.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories/todo.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/repositories/todo.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `UpdateLabel` is never constructed [INFO] [stderr] --> src/repositories/label.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct UpdateLabel { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repositories/todo.rs:80:28 [INFO] [stderr] | [INFO] [stderr] 80 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDates> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repositories/todo.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDates> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `my-todo` (bin "my-todo" test) generated 4 warnings (run `cargo fix --bin "my-todo" -p my-todo --tests` to apply 3 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/my_todo-b27de087be5112bb) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::should_update_todo ... ok [INFO] [stdout] test test::should_get_all_todos ... ok [INFO] [stdout] test test::should_find_todo ... ok [INFO] [stdout] test test::should_delete_todo ... ok [INFO] [stdout] test repositories::todo::test_utils::test::todo_crud_scenario ... ok [INFO] [stdout] test test::should_created_todo ... ok [INFO] [stdout] test repositories::label::test::crud_scenario ... FAILED [INFO] [stdout] test repositories::todo::test::crud_scenario ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- repositories::label::test::crud_scenario stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'repositories::label::test::crud_scenario' (3865) panicked at src/repositories/label.rs:110:14: [INFO] [stdout] fail connect database, url is [postgres://admin:admin@localhost:5432/todos]: PoolTimedOut [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x599da8ff2a11 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x599da900a83a - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x599da8ff749c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x599da8fcdab6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x599da8fea629 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x599da8e170a0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x599da8fea952 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x599da8fcdb62 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x599da8fc6439 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x599da8fce9ed - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x599da900af9c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x599da900ad72 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x599da8df8c56 - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 13: 0x599da8daed6e - ::block_on:: [INFO] [stdout] 14: 0x599da8d88c2d - my_todo[47a51eb663168ee3]::repositories::label::test::crud_scenario [INFO] [stdout] 15: 0x599da8dc5939 - >::call_once [INFO] [stdout] 16: 0x599da8e0a38b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 17: 0x599da8e179f5 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 18: 0x599da8e112b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 19: 0x599da8e1ab52 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 20: 0x599da8ff1c19 - ::new::thread_start [INFO] [stdout] 21: 0x72b3c619cdfa - [INFO] [stdout] 22: 0x72b3c62303d4 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- repositories::todo::test::crud_scenario stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'repositories::todo::test::crud_scenario' (3866) panicked at src/repositories/todo.rs:270:14: [INFO] [stdout] fail connect database, url is [postgres://admin:admin@localhost:5432/todos]: PoolTimedOut [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x599da8ff2a11 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x599da900a83a - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x599da8ff749c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x599da8fcdab6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x599da8fea629 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x599da8e170a0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x599da8fea952 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x599da8fcdb62 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x599da8fc6439 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x599da8fce9ed - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x599da900af9c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x599da900ad72 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x599da8df7e16 - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 13: 0x599da8dae43e - ::block_on:: [INFO] [stdout] 14: 0x599da8d888dd - my_todo[47a51eb663168ee3]::repositories::todo::test::crud_scenario [INFO] [stdout] 15: 0x599da8dc5919 - >::call_once [INFO] [stdout] 16: 0x599da8e0a38b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 17: 0x599da8e179f5 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 18: 0x599da8e112b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 19: 0x599da8e1ab52 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 20: 0x599da8ff1c19 - ::new::thread_start [INFO] [stdout] 21: 0x72b3c619cdfa - [INFO] [stdout] 22: 0x72b3c62303d4 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] repositories::label::test::crud_scenario [INFO] [stdout] repositories::todo::test::crud_scenario [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 34.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin my-todo` [INFO] running `Command { std: "docker" "inspect" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c", kill_on_drop: false }` [INFO] [stdout] 795edf1a1ade4b267c10bb1f92d50810d9a48b6727b3ec67bce74096510d064c