[INFO] fetching crate diesel_derives 1.4.1... [INFO] building diesel_derives-1.4.1 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate diesel_derives 1.4.1 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate diesel_derives 1.4.1 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_derives 1.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_derives 1.4.1 [INFO] tweaked toml for crates.io crate diesel_derives 1.4.1 written to /workspace/builds/worker-36/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fbeadeb6a545b6ddabfe3319fea577f43356836bd3bf962031484c3a29d1126 [INFO] running `Command { std: "docker" "start" "-a" "3fbeadeb6a545b6ddabfe3319fea577f43356836bd3bf962031484c3a29d1126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fbeadeb6a545b6ddabfe3319fea577f43356836bd3bf962031484c3a29d1126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbeadeb6a545b6ddabfe3319fea577f43356836bd3bf962031484c3a29d1126", kill_on_drop: false }` [INFO] [stdout] 3fbeadeb6a545b6ddabfe3319fea577f43356836bd3bf962031484c3a29d1126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afaaf5302c7320817580f8380f40206678aa8404bb0ddf68231f0c37cde1dda7 [INFO] running `Command { std: "docker" "start" "-a" "afaaf5302c7320817580f8380f40206678aa8404bb0ddf68231f0c37cde1dda7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.13s [INFO] running `Command { std: "docker" "inspect" "afaaf5302c7320817580f8380f40206678aa8404bb0ddf68231f0c37cde1dda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afaaf5302c7320817580f8380f40206678aa8404bb0ddf68231f0c37cde1dda7", kill_on_drop: false }` [INFO] [stdout] afaaf5302c7320817580f8380f40206678aa8404bb0ddf68231f0c37cde1dda7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 429d0dda0ce4c830b10c731a494444a6d32407f6ab78bd382edb3bc0dc37e272 [INFO] running `Command { std: "docker" "start" "-a" "429d0dda0ce4c830b10c731a494444a6d32407f6ab78bd382edb3bc0dc37e272", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: At least one backend must be used to test this crate. [INFO] [stdout] Pass argument `--features ""` with one or more of the following backends, 'mysql', 'postgres', or 'sqlite'. [INFO] [stdout] [INFO] [stdout] ex. cargo test --features "mysql postgres sqlite" [INFO] [stdout] [INFO] [stdout] --> tests/helpers.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / compile_error!( [INFO] [stdout] 60 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 61 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 62 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 63 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 64 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `helpers::connection` [INFO] [stdout] --> tests/queryable.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use helpers::connection; [INFO] [stdout] | ^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `Connection` [INFO] [stdout] | no `connection` in `helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `helpers::connection` [INFO] [stdout] --> tests/queryable_by_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use helpers::connection; [INFO] [stdout] | ^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `Connection` [INFO] [stdout] | no `connection` in `helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stdout] --> tests/helpers.rs:68:58 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn connection_with_sean_and_tess_in_users_table() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/connection/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stdout] | ----------------------------------------------------- similarly named trait `Connection` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connection` in this scope [INFO] [stdout] --> tests/helpers.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let connection = connection(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stdout] --> tests/associations.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | type Backend = ::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/connection/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stdout] | ----------------------------------------------------- similarly named trait `Connection` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] ... [INFO] [stdout] 84 | / test_struct_definition! { [INFO] [stdout] 85 | | struct_with_option_field, [INFO] [stdout] 86 | | struct NewUser { [INFO] [stdout] 87 | | name: String, [INFO] [stdout] 88 | | hair_color: Option, [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_struct_definition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] ... [INFO] [stdout] 92 | / test_struct_definition! { [INFO] [stdout] 93 | | pub_struct_definition, [INFO] [stdout] 94 | | pub struct NewUser { [INFO] [stdout] 95 | | name: String, [INFO] [stdout] 96 | | hair_color: Option, [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_struct_definition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] ... [INFO] [stdout] 100 | / test_struct_definition! { [INFO] [stdout] 101 | | struct_with_pub_field, [INFO] [stdout] 102 | | pub struct NewUser { [INFO] [stdout] 103 | | pub name: String, [INFO] [stdout] 104 | | hair_color: Option, [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_struct_definition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] ... [INFO] [stdout] 108 | / test_struct_definition! { [INFO] [stdout] 109 | | struct_with_pub_option_field, [INFO] [stdout] 110 | | pub struct NewUser { [INFO] [stdout] 111 | | name: String, [INFO] [stdout] 112 | | pub hair_color: Option, [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_struct_definition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] ... [INFO] [stdout] 116 | / test_struct_definition! { [INFO] [stdout] 117 | | named_struct_with_borrowed_body, [INFO] [stdout] 118 | | struct NewUser<'a> { [INFO] [stdout] 119 | | name: &'a str, [INFO] [stdout] 120 | | hair_color: Option<&'a str>, [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_struct_definition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `connection` [INFO] [stdout] --> tests/insertable.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | let conn = connection(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `diesel::sql_query` [INFO] [stdout] --> tests/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::sql_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/tests.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `helpers::*` [INFO] [stdout] --> tests/associations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use helpers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `helpers::*` [INFO] [stdout] --> tests/insertable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use helpers::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_derives` due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "429d0dda0ce4c830b10c731a494444a6d32407f6ab78bd382edb3bc0dc37e272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429d0dda0ce4c830b10c731a494444a6d32407f6ab78bd382edb3bc0dc37e272", kill_on_drop: false }` [INFO] [stdout] 429d0dda0ce4c830b10c731a494444a6d32407f6ab78bd382edb3bc0dc37e272