[INFO] fetching crate diesel_derives 1.4.1... [INFO] testing diesel_derives-1.4.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate diesel_derives 1.4.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate diesel_derives 1.4.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fe20529b11c31c2b617d43700dffb137742783ecb64de67c9c5932350c87909 [INFO] running `Command { std: "docker" "start" "-a" "2fe20529b11c31c2b617d43700dffb137742783ecb64de67c9c5932350c87909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe20529b11c31c2b617d43700dffb137742783ecb64de67c9c5932350c87909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe20529b11c31c2b617d43700dffb137742783ecb64de67c9c5932350c87909", kill_on_drop: false }` [INFO] [stdout] 2fe20529b11c31c2b617d43700dffb137742783ecb64de67c9c5932350c87909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cd0a652db1211004a245a39dacaf75fff2f019a38527d06d5015614fe19992a [INFO] running `Command { std: "docker" "start" "-a" "4cd0a652db1211004a245a39dacaf75fff2f019a38527d06d5015614fe19992a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.38s [INFO] running `Command { std: "docker" "inspect" "4cd0a652db1211004a245a39dacaf75fff2f019a38527d06d5015614fe19992a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd0a652db1211004a245a39dacaf75fff2f019a38527d06d5015614fe19992a", kill_on_drop: false }` [INFO] [stdout] 4cd0a652db1211004a245a39dacaf75fff2f019a38527d06d5015614fe19992a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac96265fc96ac025b8e603fe9200a713b38aadbe475e6be22da55ab9a4baa20f [INFO] running `Command { std: "docker" "start" "-a" "ac96265fc96ac025b8e603fe9200a713b38aadbe475e6be22da55ab9a4baa20f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling backtrace v0.3.64 [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 syn v0.11.11 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling dotenv v0.10.1 [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] --> 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.8/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.8/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] warning: 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: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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 18 previous errors; 3 warnings emitted [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 19 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac96265fc96ac025b8e603fe9200a713b38aadbe475e6be22da55ab9a4baa20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac96265fc96ac025b8e603fe9200a713b38aadbe475e6be22da55ab9a4baa20f", kill_on_drop: false }` [INFO] [stdout] ac96265fc96ac025b8e603fe9200a713b38aadbe475e6be22da55ab9a4baa20f