[INFO] cloning repository https://github.com/diegoparra/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegoparra/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoparra%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoparra%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c30e213d795619d3e6df4dd807c4c27ae7b1677 [INFO] testing diegoparra/rust-api against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoparra%2Frust-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diegoparra/rust-api on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diegoparra/rust-api [INFO] finished tweaking git repo https://github.com/diegoparra/rust-api [INFO] tweaked toml for git repo https://github.com/diegoparra/rust-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/diegoparra/rust-api 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.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded diesel-async v0.4.1 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded diesel_derives v2.1.2 [INFO] [stderr] Downloaded diesel v2.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a09bb52090ffc41c0233b2db2d872fc47d461bb0cc5c46ed3b7b21f87dade4d [INFO] running `Command { std: "docker" "start" "-a" "2a09bb52090ffc41c0233b2db2d872fc47d461bb0cc5c46ed3b7b21f87dade4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a09bb52090ffc41c0233b2db2d872fc47d461bb0cc5c46ed3b7b21f87dade4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a09bb52090ffc41c0233b2db2d872fc47d461bb0cc5c46ed3b7b21f87dade4d", kill_on_drop: false }` [INFO] [stdout] 2a09bb52090ffc41c0233b2db2d872fc47d461bb0cc5c46ed3b7b21f87dade4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c718afc57c8645f79fb05214e99af11729190c6db20a0a3cc13e72c26a073aae [INFO] running `Command { std: "docker" "start" "-a" "c718afc57c8645f79fb05214e99af11729190c6db20a0a3cc13e72c26a073aae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling figment v0.10.12 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pear_codegen v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.7 [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 diesel v2.1.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling diesel-async v0.4.1 [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, `email`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Rustacean { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Crate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub rustacean_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustaceanRepository` is never constructed [INFO] [stdout] --> src/repositories.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RustaceanRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl RustaceanRepository { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 10 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn find_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn update(c: &mut AsyncPgConnection, rustacean: Rustacean) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateRepository` is never constructed [INFO] [stdout] --> src/repositories.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CrateRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl CrateRepository { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 49 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_multiple(c: &mut AsyncPgConnection, limit: i64) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create(c: &mut AsyncPgConnection, new_create: NewCrate) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn update(c: &mut AsyncPgConnection, id: i32, a_crate: Crate) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "c718afc57c8645f79fb05214e99af11729190c6db20a0a3cc13e72c26a073aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c718afc57c8645f79fb05214e99af11729190c6db20a0a3cc13e72c26a073aae", kill_on_drop: false }` [INFO] [stdout] c718afc57c8645f79fb05214e99af11729190c6db20a0a3cc13e72c26a073aae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32207e4418eac6a141a531d29e18630da6629785881921a36337040533333689 [INFO] running `Command { std: "docker" "start" "-a" "32207e4418eac6a141a531d29e18630da6629785881921a36337040533333689", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, `email`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Rustacean { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Crate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub rustacean_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustaceanRepository` is never constructed [INFO] [stdout] --> src/repositories.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RustaceanRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl RustaceanRepository { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 10 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn find_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn update(c: &mut AsyncPgConnection, rustacean: Rustacean) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateRepository` is never constructed [INFO] [stdout] --> src/repositories.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CrateRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl CrateRepository { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 49 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_multiple(c: &mut AsyncPgConnection, limit: i64) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn create(c: &mut AsyncPgConnection, new_create: NewCrate) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn update(c: &mut AsyncPgConnection, id: i32, a_crate: Crate) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "32207e4418eac6a141a531d29e18630da6629785881921a36337040533333689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32207e4418eac6a141a531d29e18630da6629785881921a36337040533333689", kill_on_drop: false }` [INFO] [stdout] 32207e4418eac6a141a531d29e18630da6629785881921a36337040533333689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3dbdd72c818618e0e7bd01f42f19e52f8bcbf02e7f6d2f3064cc6aaa9848a9c [INFO] running `Command { std: "docker" "start" "-a" "b3dbdd72c818618e0e7bd01f42f19e52f8bcbf02e7f6d2f3064cc6aaa9848a9c", kill_on_drop: false }` [INFO] [stderr] warning: fields `id`, `name`, `email`, and `created_at` are never read [INFO] [stderr] --> src/models.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Rustacean { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 7 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | pub created_at: NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Crate { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 22 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 23 | pub rustacean_id: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 24 | pub code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 25 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 26 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | pub description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 28 | pub created_at: NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RustaceanRepository` is never constructed [INFO] [stderr] --> src/repositories.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct RustaceanRepository; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stderr] --> src/repositories.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 9 | impl RustaceanRepository { [INFO] [stderr] | ------------------------ associated functions in this implementation [INFO] [stderr] 10 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub async fn find_multiple( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub async fn create( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub async fn update(c: &mut AsyncPgConnection, rustacean: Rustacean) -> QueryResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CrateRepository` is never constructed [INFO] [stderr] --> src/repositories.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CrateRepository; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `find`, `find_multiple`, `create`, `update`, and `delete` are never used [INFO] [stderr] --> src/repositories.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 48 | impl CrateRepository { [INFO] [stderr] | -------------------- associated functions in this implementation [INFO] [stderr] 49 | pub async fn find(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub async fn find_multiple(c: &mut AsyncPgConnection, limit: i64) -> QueryResult> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub async fn create(c: &mut AsyncPgConnection, new_create: NewCrate) -> QueryResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub async fn update(c: &mut AsyncPgConnection, id: i32, a_crate: Crate) -> QueryResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub async fn delete(c: &mut AsyncPgConnection, id: i32) -> QueryResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api` (bin "rust-api" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api-da8ee56c3fd42b3f) [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] running `Command { std: "docker" "inspect" "b3dbdd72c818618e0e7bd01f42f19e52f8bcbf02e7f6d2f3064cc6aaa9848a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3dbdd72c818618e0e7bd01f42f19e52f8bcbf02e7f6d2f3064cc6aaa9848a9c", kill_on_drop: false }` [INFO] [stdout] b3dbdd72c818618e0e7bd01f42f19e52f8bcbf02e7f6d2f3064cc6aaa9848a9c [INFO] testing diegoparra/rust-api against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegoparra%2Frust-api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diegoparra/rust-api on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diegoparra/rust-api [INFO] finished tweaking git repo https://github.com/diegoparra/rust-api [INFO] tweaked toml for git repo https://github.com/diegoparra/rust-api written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/diegoparra/rust-api 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5738a23c28f5cf058380326eac5b22bd4fb78cb1a7e66e5a80301b398485a383 [INFO] running `Command { std: "docker" "start" "-a" "5738a23c28f5cf058380326eac5b22bd4fb78cb1a7e66e5a80301b398485a383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5738a23c28f5cf058380326eac5b22bd4fb78cb1a7e66e5a80301b398485a383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5738a23c28f5cf058380326eac5b22bd4fb78cb1a7e66e5a80301b398485a383", kill_on_drop: false }` [INFO] [stdout] 5738a23c28f5cf058380326eac5b22bd4fb78cb1a7e66e5a80301b398485a383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2766d9529ba968b08d31c6669db6bb8bd067e0a3217d863f9cc314f5fb92ea2 [INFO] running `Command { std: "docker" "start" "-a" "d2766d9529ba968b08d31c6669db6bb8bd067e0a3217d863f9cc314f5fb92ea2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d2766d9529ba968b08d31c6669db6bb8bd067e0a3217d863f9cc314f5fb92ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2766d9529ba968b08d31c6669db6bb8bd067e0a3217d863f9cc314f5fb92ea2", kill_on_drop: false }` [INFO] [stdout] d2766d9529ba968b08d31c6669db6bb8bd067e0a3217d863f9cc314f5fb92ea2