[INFO] crate diesel_derives 1.4.1 is already in cache [INFO] testing diesel_derives-1.4.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate diesel_derives 1.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate diesel_derives 1.4.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3351ae4f19ad2a9331bae3995007f8824deb50bdb0f82303c3e6c5cc982e9fc6 [INFO] running `"docker" "start" "-a" "3351ae4f19ad2a9331bae3995007f8824deb50bdb0f82303c3e6c5cc982e9fc6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.86s [INFO] running `"docker" "inspect" "3351ae4f19ad2a9331bae3995007f8824deb50bdb0f82303c3e6c5cc982e9fc6"` [INFO] running `"docker" "rm" "-f" "3351ae4f19ad2a9331bae3995007f8824deb50bdb0f82303c3e6c5cc982e9fc6"` [INFO] [stdout] 3351ae4f19ad2a9331bae3995007f8824deb50bdb0f82303c3e6c5cc982e9fc6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fbe78e285094ce914039bb788553e2043610ad19206bee3539dfa6131aa6634 [INFO] running `"docker" "start" "-a" "4fbe78e285094ce914039bb788553e2043610ad19206bee3539dfa6131aa6634"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling diesel_derives v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] error: At least one backend must be used to test this crate. [INFO] [stderr] Pass argument `--features ""` with one or more of the following backends, 'mysql', 'postgres', or 'sqlite'. [INFO] [stderr] [INFO] [stderr] ex. cargo test --features "mysql postgres sqlite" [INFO] [stderr] [INFO] [stderr] --> tests/helpers.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | / compile_error!( [INFO] [stderr] 60 | | "At least one backend must be used to test this crate.\n \ [INFO] [stderr] 61 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stderr] 62 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stderr] 63 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stderr] 64 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `helpers::connection` [INFO] [stderr] --> tests/queryable.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use helpers::connection; [INFO] [stderr] | ^^^^^^^^^---------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `Connection` [INFO] [stderr] | no `connection` in `helpers` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `helpers::connection` [INFO] [stderr] --> tests/queryable_by_name.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use helpers::connection; [INFO] [stderr] | ^^^^^^^^^---------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `Connection` [INFO] [stderr] | no `connection` in `helpers` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stderr] --> tests/helpers.rs:68:58 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn connection_with_sean_and_tess_in_users_table() -> TestConnection { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.4/src/connection/mod.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stderr] | ----------------------------------------------------- similarly named trait `Connection` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `connection` in this scope [INFO] [stderr] --> tests/helpers.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | let connection = connection(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stderr] --> tests/associations.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | type Backend = ::Backend; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.4/src/connection/mod.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stderr] | ----------------------------------------------------- similarly named trait `Connection` defined here [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] ... [INFO] [stderr] 84 | / test_struct_definition! { [INFO] [stderr] 85 | | struct_with_option_field, [INFO] [stderr] 86 | | struct NewUser { [INFO] [stderr] 87 | | name: String, [INFO] [stderr] 88 | | hair_color: Option, [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] ... [INFO] [stderr] 92 | / test_struct_definition! { [INFO] [stderr] 93 | | pub_struct_definition, [INFO] [stderr] 94 | | pub struct NewUser { [INFO] [stderr] 95 | | name: String, [INFO] [stderr] 96 | | hair_color: Option, [INFO] [stderr] 97 | | } [INFO] [stderr] 98 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] ... [INFO] [stderr] 100 | / test_struct_definition! { [INFO] [stderr] 101 | | struct_with_pub_field, [INFO] [stderr] 102 | | pub struct NewUser { [INFO] [stderr] 103 | | pub name: String, [INFO] [stderr] 104 | | hair_color: Option, [INFO] [stderr] 105 | | } [INFO] [stderr] 106 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] ... [INFO] [stderr] 108 | / test_struct_definition! { [INFO] [stderr] 109 | | struct_with_pub_option_field, [INFO] [stderr] 110 | | pub struct NewUser { [INFO] [stderr] 111 | | name: String, [INFO] [stderr] 112 | | pub hair_color: Option, [INFO] [stderr] 113 | | } [INFO] [stderr] 114 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] ... [INFO] [stderr] 116 | / test_struct_definition! { [INFO] [stderr] 117 | | named_struct_with_borrowed_body, [INFO] [stderr] 118 | | struct NewUser<'a> { [INFO] [stderr] 119 | | name: &'a str, [INFO] [stderr] 120 | | hair_color: Option<&'a str>, [INFO] [stderr] 121 | | } [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:162:16 [INFO] [stderr] | [INFO] [stderr] 162 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:188:16 [INFO] [stderr] | [INFO] [stderr] 188 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found module `connection` [INFO] [stderr] --> tests/insertable.rs:282:16 [INFO] [stderr] | [INFO] [stderr] 282 | let conn = connection(); [INFO] [stderr] | ^^^^^^^^^^ not a function [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::sql_query` [INFO] [stderr] --> tests/helpers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::sql_query; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> tests/tests.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: unused import: `helpers::*` [INFO] [stderr] --> tests/associations.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use helpers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `helpers::*` [INFO] [stderr] --> tests/insertable.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use helpers::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0423, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `diesel_derives`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4fbe78e285094ce914039bb788553e2043610ad19206bee3539dfa6131aa6634"` [INFO] running `"docker" "rm" "-f" "4fbe78e285094ce914039bb788553e2043610ad19206bee3539dfa6131aa6634"` [INFO] [stdout] 4fbe78e285094ce914039bb788553e2043610ad19206bee3539dfa6131aa6634