[INFO] fetching crate gotham_middleware_diesel 0.5.1... [INFO] testing gotham_middleware_diesel-0.5.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gotham_middleware_diesel 0.5.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gotham_middleware_diesel 0.5.1 [INFO] finished tweaking crates.io crate gotham_middleware_diesel 0.5.1 [INFO] tweaked toml for crates.io crate gotham_middleware_diesel 0.5.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gotham_middleware_diesel 0.5.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05173e268485fce30e5573a3716c55e7060242011ac15032aed5e2af2522d6b3 [INFO] running `Command { std: "docker" "start" "-a" "05173e268485fce30e5573a3716c55e7060242011ac15032aed5e2af2522d6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05173e268485fce30e5573a3716c55e7060242011ac15032aed5e2af2522d6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05173e268485fce30e5573a3716c55e7060242011ac15032aed5e2af2522d6b3", kill_on_drop: false }` [INFO] [stdout] 05173e268485fce30e5573a3716c55e7060242011ac15032aed5e2af2522d6b3 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 175b1fcb6137ea553662270b5c14e51df67402a7ed67beec78eede300dbce77a [INFO] running `Command { std: "docker" "start" "-a" "175b1fcb6137ea553662270b5c14e51df67402a7ed67beec78eede300dbce77a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling cookie v0.15.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling borrow-bag v1.1.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling gotham_derive v0.7.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling diesel v2.2.12 [INFO] [stderr] Compiling gotham v0.7.4 [INFO] [stderr] Compiling gotham_middleware_diesel v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.72s [INFO] running `Command { std: "docker" "inspect" "175b1fcb6137ea553662270b5c14e51df67402a7ed67beec78eede300dbce77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175b1fcb6137ea553662270b5c14e51df67402a7ed67beec78eede300dbce77a", kill_on_drop: false }` [INFO] [stdout] 175b1fcb6137ea553662270b5c14e51df67402a7ed67beec78eede300dbce77a [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c659c8a76cc1271e92b1fa20e8ac8fc1a8a95100cd2804c276c827473b2ea44 [INFO] running `Command { std: "docker" "start" "-a" "9c659c8a76cc1271e92b1fa20e8ac8fc1a8a95100cd2804c276c827473b2ea44", kill_on_drop: false }` [INFO] [stderr] Compiling gotham_middleware_diesel v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "9c659c8a76cc1271e92b1fa20e8ac8fc1a8a95100cd2804c276c827473b2ea44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c659c8a76cc1271e92b1fa20e8ac8fc1a8a95100cd2804c276c827473b2ea44", kill_on_drop: false }` [INFO] [stdout] 9c659c8a76cc1271e92b1fa20e8ac8fc1a8a95100cd2804c276c827473b2ea44 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 243f4b9d5fccbfa5fef7e769d256c253efb77ed05867502af368e851b3bb8236 [INFO] running `Command { std: "docker" "start" "-a" "243f4b9d5fccbfa5fef7e769d256c253efb77ed05867502af368e851b3bb8236", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gotham_middleware_diesel-8980298b7676a650) [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] Doc-tests gotham_middleware_diesel [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/repo.rs - repo::Repo (line 12) ... FAILED [INFO] [stdout] test src/repo.rs - repo::Repo::new (line 78) ... ok [INFO] [stdout] test src/repo.rs - repo::Repo::with_test_transactions (line 122) ... ok [INFO] [stdout] test src/repo.rs - repo::Repo::from_pool_builder (line 93) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/repo.rs - repo::Repo (line 12) stdout ---- [INFO] [stdout] error: fields `id` and `name` are never read [INFO] [stdout] --> src/repo.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/repo.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/repo.rs - repo::Repo (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "243f4b9d5fccbfa5fef7e769d256c253efb77ed05867502af368e851b3bb8236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243f4b9d5fccbfa5fef7e769d256c253efb77ed05867502af368e851b3bb8236", kill_on_drop: false }` [INFO] [stdout] 243f4b9d5fccbfa5fef7e769d256c253efb77ed05867502af368e851b3bb8236