[INFO] fetching crate diesel-crud-codegen 0.0.2... [INFO] checking diesel-crud-codegen-0.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate diesel-crud-codegen 0.0.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate diesel-crud-codegen 0.0.2 [INFO] finished tweaking crates.io crate diesel-crud-codegen 0.0.2 [INFO] tweaked toml for crates.io crate diesel-crud-codegen 0.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-crud-codegen 0.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding darling v0.10.2 (available: v0.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af108939098c8e24296e9cdf35456947bd7440c2662c7f377c6308e631fd1d68 [INFO] running `Command { std: "docker" "start" "-a" "af108939098c8e24296e9cdf35456947bd7440c2662c7f377c6308e631fd1d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af108939098c8e24296e9cdf35456947bd7440c2662c7f377c6308e631fd1d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af108939098c8e24296e9cdf35456947bd7440c2662c7f377c6308e631fd1d68", kill_on_drop: false }` [INFO] [stdout] af108939098c8e24296e9cdf35456947bd7440c2662c7f377c6308e631fd1d68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 241029b319759c7b471d10d9cef7852fa76c1395566ae884345ed4ab4a799a88 [INFO] running `Command { std: "docker" "start" "-a" "241029b319759c7b471d10d9cef7852fa76c1395566ae884345ed4ab4a799a88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking darling v0.10.2 [INFO] [stderr] Checking diesel-crud-codegen v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: fields `ident` and `table_name` are never read [INFO] [stdout] --> src/crud/additional_count_model.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct CountBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 38 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_copy_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow { [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: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn unwrap_type(ty: &Type) -> Cow { [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] 77 | pub fn unwrap_type(ty: &Type) -> Cow<'_, Type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `ident` and `table_name` are never read [INFO] [stdout] --> src/crud/additional_count_model.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct CountBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 38 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_copy_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow { [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: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn unwrap_type(ty: &Type) -> Cow { [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] 77 | pub fn unwrap_type(ty: &Type) -> Cow<'_, Type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-crud-codegen` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `diesel-crud-codegen` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "241029b319759c7b471d10d9cef7852fa76c1395566ae884345ed4ab4a799a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241029b319759c7b471d10d9cef7852fa76c1395566ae884345ed4ab4a799a88", kill_on_drop: false }` [INFO] [stdout] 241029b319759c7b471d10d9cef7852fa76c1395566ae884345ed4ab4a799a88