[INFO] fetching crate diesel_derives 1.4.1... [INFO] checking diesel_derives-1.4.1 against beta for pr-78714 [INFO] extracting crate diesel_derives 1.4.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate diesel_derives 1.4.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ec46f756ca7d318fc659d9962a8c92944e1253a355f3f14c590d98661e09181 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5ec46f756ca7d318fc659d9962a8c92944e1253a355f3f14c590d98661e09181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ec46f756ca7d318fc659d9962a8c92944e1253a355f3f14c590d98661e09181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec46f756ca7d318fc659d9962a8c92944e1253a355f3f14c590d98661e09181", kill_on_drop: false }` [INFO] [stdout] 5ec46f756ca7d318fc659d9962a8c92944e1253a355f3f14c590d98661e09181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebe1f9e5c95a9360e86bd8f5f5f61f26b9b68749c196dbd9d51eefbaac7d8e0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ebe1f9e5c95a9360e86bd8f5f5f61f26b9b68749c196dbd9d51eefbaac7d8e0e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.5 [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.5/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.5/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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ebe1f9e5c95a9360e86bd8f5f5f61f26b9b68749c196dbd9d51eefbaac7d8e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe1f9e5c95a9360e86bd8f5f5f61f26b9b68749c196dbd9d51eefbaac7d8e0e", kill_on_drop: false }` [INFO] [stdout] ebe1f9e5c95a9360e86bd8f5f5f61f26b9b68749c196dbd9d51eefbaac7d8e0e