[INFO] fetching crate diesel-crud-codegen 0.0.2... [INFO] checking diesel-crud-codegen-0.0.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate diesel-crud-codegen 0.0.2 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-crud-codegen 0.0.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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.20.11) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d63b7a215d4cf28a177c1f9ddc661967dc9b3d9b475134f165afcba197b07449 [INFO] running `Command { std: "docker" "start" "-a" "d63b7a215d4cf28a177c1f9ddc661967dc9b3d9b475134f165afcba197b07449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d63b7a215d4cf28a177c1f9ddc661967dc9b3d9b475134f165afcba197b07449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63b7a215d4cf28a177c1f9ddc661967dc9b3d9b475134f165afcba197b07449", kill_on_drop: false }` [INFO] [stdout] d63b7a215d4cf28a177c1f9ddc661967dc9b3d9b475134f165afcba197b07449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92831028ff818e9fcba9503e7c6f49ec0304df592b655f77338683310c5e110f [INFO] running `Command { std: "docker" "start" "-a" "92831028ff818e9fcba9503e7c6f49ec0304df592b655f77338683310c5e110f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking 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 proc-macro2 v1.0.95 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn unwrap_type(ty: &Type) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn snake_to_camel(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn unwrap_type(ty: &Type) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "92831028ff818e9fcba9503e7c6f49ec0304df592b655f77338683310c5e110f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92831028ff818e9fcba9503e7c6f49ec0304df592b655f77338683310c5e110f", kill_on_drop: false }` [INFO] [stdout] 92831028ff818e9fcba9503e7c6f49ec0304df592b655f77338683310c5e110f