[INFO] fetching crate diesel_derives 1.4.1... [INFO] checking diesel_derives-1.4.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate diesel_derives 1.4.1 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate diesel_derives 1.4.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-91/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e25253ecda6aec65100e732603f14da0cd05410064ee6b4e923305cfabe338b9 [INFO] running `Command { std: "docker" "start" "-a" "e25253ecda6aec65100e732603f14da0cd05410064ee6b4e923305cfabe338b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e25253ecda6aec65100e732603f14da0cd05410064ee6b4e923305cfabe338b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25253ecda6aec65100e732603f14da0cd05410064ee6b4e923305cfabe338b9", kill_on_drop: false }` [INFO] [stdout] e25253ecda6aec65100e732603f14da0cd05410064ee6b4e923305cfabe338b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 255e4b9c3ca1990a4024a066a82045619c93b93bb5179ebf393310e59d7d7ef8 [INFO] running `Command { std: "docker" "start" "-a" "255e4b9c3ca1990a4024a066a82045619c93b93bb5179ebf393310e59d7d7ef8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.7 [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" "255e4b9c3ca1990a4024a066a82045619c93b93bb5179ebf393310e59d7d7ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255e4b9c3ca1990a4024a066a82045619c93b93bb5179ebf393310e59d7d7ef8", kill_on_drop: false }` [INFO] [stdout] 255e4b9c3ca1990a4024a066a82045619c93b93bb5179ebf393310e59d7d7ef8