[INFO] fetching crate rustorm 0.20.0... [INFO] testing rustorm-0.20.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rustorm 0.20.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rustorm 0.20.0 [INFO] finished tweaking crates.io crate rustorm 0.20.0 [INFO] tweaked toml for crates.io crate rustorm 0.20.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustorm 0.20.0 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] crate crates.io crate rustorm 0.20.0 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" "+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] 2639e3bf4d612c989a8775877348c4cede9dca8afbd19d33c3fb93fa99d36822 [INFO] running `Command { std: "docker" "start" "-a" "2639e3bf4d612c989a8775877348c4cede9dca8afbd19d33c3fb93fa99d36822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2639e3bf4d612c989a8775877348c4cede9dca8afbd19d33c3fb93fa99d36822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2639e3bf4d612c989a8775877348c4cede9dca8afbd19d33c3fb93fa99d36822", kill_on_drop: false }` [INFO] [stdout] 2639e3bf4d612c989a8775877348c4cede9dca8afbd19d33c3fb93fa99d36822 [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] 5425d54cea1a6ff70501aee74a99bd4f09b9db904b3d11011e3f5b8f0b676aa8 [INFO] running `Command { std: "docker" "start" "-a" "5425d54cea1a6ff70501aee74a99bd4f09b9db904b3d11011e3f5b8f0b676aa8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling meval v0.1.0 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling bigdecimal v0.0.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling geo v0.4.13 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling rustorm_dao v0.20.0 [INFO] [stderr] Compiling rustorm_codegen v0.20.0 [INFO] [stderr] Compiling rustorm v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/pool.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Pool(BTreeMap); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/table.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | for fk in &foreign_keys { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(for_loops_over_fallibles)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 137 - for fk in &foreign_keys { [INFO] [stdout] 137 + while let Some(fk) = &foreign_keys { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 137 - for fk in &foreign_keys { [INFO] [stdout] 137 + if let Some(fk) = &foreign_keys { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustorm` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5425d54cea1a6ff70501aee74a99bd4f09b9db904b3d11011e3f5b8f0b676aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5425d54cea1a6ff70501aee74a99bd4f09b9db904b3d11011e3f5b8f0b676aa8", kill_on_drop: false }` [INFO] [stdout] 5425d54cea1a6ff70501aee74a99bd4f09b9db904b3d11011e3f5b8f0b676aa8