[INFO] cloning repository https://github.com/Syed1623/rust_user_crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Syed1623/rust_user_crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyed1623%2Frust_user_crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyed1623%2Frust_user_crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f5f8023e91f5502e83fd8dd534dc004444b0b01 [INFO] testing Syed1623/rust_user_crud against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSyed1623%2Frust_user_crud" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Syed1623/rust_user_crud [INFO] finished tweaking git repo https://github.com/Syed1623/rust_user_crud [INFO] tweaked toml for git repo https://github.com/Syed1623/rust_user_crud written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Syed1623/rust_user_crud on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Syed1623/rust_user_crud 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3712b69c5ef91c6ad088c6d90be620f805a6ee7f300b40cc9fa67b515f3f605 [INFO] running `Command { std: "docker" "start" "-a" "b3712b69c5ef91c6ad088c6d90be620f805a6ee7f300b40cc9fa67b515f3f605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3712b69c5ef91c6ad088c6d90be620f805a6ee7f300b40cc9fa67b515f3f605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3712b69c5ef91c6ad088c6d90be620f805a6ee7f300b40cc9fa67b515f3f605", kill_on_drop: false }` [INFO] [stdout] b3712b69c5ef91c6ad088c6d90be620f805a6ee7f300b40cc9fa67b515f3f605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf8b3058b322b15c10f72e6a7e6a387304bcbd69564aedafa93010fb84c7511e [INFO] running `Command { std: "docker" "start" "-a" "bf8b3058b322b15c10f72e6a7e6a387304bcbd69564aedafa93010fb84c7511e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling diesel v2.2.6 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling rust-api-crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Build` and `Rocket` [INFO] [stdout] --> src/db.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::{Rocket, Build}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `figment` [INFO] [stdout] --> src/db.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let figment: &Figment = rocket.figment(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_figment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Db` is never constructed [INFO] [stdout] --> src/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Db(pub r2d2::PooledConnection>); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_one` is never used [INFO] [stdout] --> src/db.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Db { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 21 | // Shortcut for retrieving a single connection [INFO] [stdout] 22 | pub fn get_one(pool: &Pool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 41s [INFO] running `Command { std: "docker" "inspect" "bf8b3058b322b15c10f72e6a7e6a387304bcbd69564aedafa93010fb84c7511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8b3058b322b15c10f72e6a7e6a387304bcbd69564aedafa93010fb84c7511e", kill_on_drop: false }` [INFO] [stdout] bf8b3058b322b15c10f72e6a7e6a387304bcbd69564aedafa93010fb84c7511e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf0fac9d1fe4403c25afa47266cd80a7e5d4dc1c0d61e46ede90a9acf37173c7 [INFO] running `Command { std: "docker" "start" "-a" "bf0fac9d1fe4403c25afa47266cd80a7e5d4dc1c0d61e46ede90a9acf37173c7", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api-crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Build` and `Rocket` [INFO] [stdout] --> src/db.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::{Rocket, Build}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `figment` [INFO] [stdout] --> src/db.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let figment: &Figment = rocket.figment(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_figment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Db` is never constructed [INFO] [stdout] --> src/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Db(pub r2d2::PooledConnection>); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_one` is never used [INFO] [stdout] --> src/db.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Db { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 21 | // Shortcut for retrieving a single connection [INFO] [stdout] 22 | pub fn get_one(pool: &Pool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "bf0fac9d1fe4403c25afa47266cd80a7e5d4dc1c0d61e46ede90a9acf37173c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0fac9d1fe4403c25afa47266cd80a7e5d4dc1c0d61e46ede90a9acf37173c7", kill_on_drop: false }` [INFO] [stdout] bf0fac9d1fe4403c25afa47266cd80a7e5d4dc1c0d61e46ede90a9acf37173c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7edc4ce566b7b591194ef47b8ba78455214488bf9a265a2ed964e4e2ea9c681 [INFO] running `Command { std: "docker" "start" "-a" "a7edc4ce566b7b591194ef47b8ba78455214488bf9a265a2ed964e4e2ea9c681", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Build` and `Rocket` [INFO] [stderr] --> src/db.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket::{Rocket, Build}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `figment` [INFO] [stderr] --> src/db.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let figment: &Figment = rocket.figment(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_figment` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Db` is never constructed [INFO] [stderr] --> src/db.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Db(pub r2d2::PooledConnection>); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `get_one` is never used [INFO] [stderr] --> src/db.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Db { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] 21 | // Shortcut for retrieving a single connection [INFO] [stderr] 22 | pub fn get_one(pool: &Pool) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api-crud` (bin "rust-api-crud" test) generated 4 warnings (run `cargo fix --bin "rust-api-crud" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_crud-d51293b2a9e1cf76) [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" "a7edc4ce566b7b591194ef47b8ba78455214488bf9a265a2ed964e4e2ea9c681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7edc4ce566b7b591194ef47b8ba78455214488bf9a265a2ed964e4e2ea9c681", kill_on_drop: false }` [INFO] [stdout] a7edc4ce566b7b591194ef47b8ba78455214488bf9a265a2ed964e4e2ea9c681