[INFO] cloning repository https://github.com/jmesmon/rust-psql-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmesmon/rust-psql-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa7e1f56eae7fdec74ff14315d4fbcae77419e92 [INFO] checking jmesmon/rust-psql-bench against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmesmon/rust-psql-bench [INFO] finished tweaking git repo https://github.com/jmesmon/rust-psql-bench [INFO] tweaked toml for git repo https://github.com/jmesmon/rust-psql-bench written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmesmon/rust-psql-bench on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmesmon/rust-psql-bench already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jmesmon/rust-psql-bench against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmesmon/rust-psql-bench [INFO] finished tweaking git repo https://github.com/jmesmon/rust-psql-bench [INFO] tweaked toml for git repo https://github.com/jmesmon/rust-psql-bench written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmesmon/rust-psql-bench on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmesmon/rust-psql-bench already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded postgres v0.13.3 [INFO] [stderr] Downloaded diesel_codegen v0.9.0 [INFO] [stderr] Downloaded postgres-protocol v0.1.1 [INFO] [stderr] Downloaded phf_shared v0.7.20 [INFO] [stderr] Downloaded phf v0.7.20 [INFO] [stderr] Downloaded bufstream v0.1.2 [INFO] [stderr] Downloaded unicode-xid v0.0.3 [INFO] [stderr] Downloaded pq-sys v0.2.7 [INFO] [stderr] Downloaded quote v0.3.10 [INFO] [stderr] Downloaded dotenv v0.8.0 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded syn v0.10.3 [INFO] [stderr] Downloaded diesel_codegen_shared v0.9.0 [INFO] [stderr] Downloaded fallible-iterator v0.1.3 [INFO] [stderr] Downloaded md5 v0.2.1 [INFO] [stderr] Downloaded libc v0.2.18 [INFO] [stderr] Downloaded diesel v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67c0ab93a72e449f7cef04f056c76926cc8b5cb580f08cb57085b028dc5c97a9 [INFO] running `Command { std: "docker" "start" "-a" "67c0ab93a72e449f7cef04f056c76926cc8b5cb580f08cb57085b028dc5c97a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67c0ab93a72e449f7cef04f056c76926cc8b5cb580f08cb57085b028dc5c97a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c0ab93a72e449f7cef04f056c76926cc8b5cb580f08cb57085b028dc5c97a9", kill_on_drop: false }` [INFO] [stdout] 67c0ab93a72e449f7cef04f056c76926cc8b5cb580f08cb57085b028dc5c97a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a18ac3dab26d1fd67a54a3673aaf2b6e0d77df215be42ead95bcfd7b10fd59ac [INFO] running `Command { std: "docker" "start" "-a" "a18ac3dab26d1fd67a54a3673aaf2b6e0d77df215be42ead95bcfd7b10fd59ac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling pq-sys v0.2.7 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Checking phf_shared v0.7.20 [INFO] [stderr] Compiling quote v0.3.10 [INFO] [stderr] Checking md5 v0.2.1 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking fallible-iterator v0.1.3 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking bufstream v0.1.2 [INFO] [stderr] Checking bench-sql v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v0.10.3 [INFO] [stderr] Checking phf v0.7.20 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Checking diesel v0.9.0 [INFO] [stderr] Checking postgres-protocol v0.1.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Checking postgres v0.13.3 [INFO] [stderr] Compiling dotenv v0.8.0 [INFO] [stderr] Compiling diesel_codegen_shared v0.9.0 [INFO] [stderr] Compiling diesel_codegen v0.9.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | use users::dsl::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 3 + extern crate users; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> benches/2_postgres_bench.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for i in (0..num_rows) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - for i in (0..num_rows) { [INFO] [stdout] 65 + for i in 0..num_rows { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `InferSchema` in this scope [INFO] [stdout] --> benches/1_diesel_bench.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | infer_schema!("env:DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `infer_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `options` in this scope [INFO] [stdout] --> benches/1_diesel_bench.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | infer_schema!("env:DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `options` is an attribute that can be used by the derive macro `EmbedMigrations`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `infer_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/2_postgres_bench.rs:44:75 [INFO] [stdout] | [INFO] [stdout] 44 | let binds_borrowed_because_reasons = binds.iter().map(|b| &*b as &ToSql).collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | let binds_borrowed_because_reasons = binds.iter().map(|b| &*b as &dyn ToSql).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/2_postgres_bench.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let mut post_binds = Vec::>::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | let mut post_binds = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/2_postgres_bench.rs:86:83 [INFO] [stdout] | [INFO] [stdout] 86 | let binds_borrowed_because_reasons_i_guess = binds.iter().map(|s| &*s as &postgres::types::ToSql).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | let binds_borrowed_because_reasons_i_guess = binds.iter().map(|s| &*s as &dyn postgres::types::ToSql).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `hair_color` are never read [INFO] [stdout] --> benches/2_postgres_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | hair_color: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_id`, `title`, and `body` are never read [INFO] [stdout] --> benches/2_postgres_bench.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_simple_query__1_000_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn bench_simple_query__1_000_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_simple_query_1_000_rows_postgres` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_simple_query____100_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn bench_simple_query____100_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_simple_query_100_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_simple_query_____10_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn bench_simple_query_____10_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_simple_query_10_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_simple_query______1_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn bench_simple_query______1_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_simple_query_1_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_simple_query______0_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn bench_simple_query______0_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_simple_query_0_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_complex_query__1_000_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn bench_complex_query__1_000_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_complex_query_1_000_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_complex_query____100_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn bench_complex_query____100_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_complex_query_100_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_complex_query_____10_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn bench_complex_query_____10_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_complex_query_10_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_complex_query______1_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn bench_complex_query______1_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_complex_query_1_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bench_complex_query______0_rows_postgres` should have a snake case name [INFO] [stdout] --> benches/2_postgres_bench.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn bench_complex_query______0_rows_postgres(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bench_complex_query_0_rows_postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> benches/1_diesel_bench.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let query = users.left_outer_join(posts::table) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hair_color` in this scope [INFO] [stdout] --> benches/1_diesel_bench.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | .filter(hair_color.eq("black")) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> benches/1_diesel_bench.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | .order(name.desc()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> benches/1_diesel_bench.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> benches/1_diesel_bench.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test, proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/1_diesel_bench.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `HasMany` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `posts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `posts`, use `cargo add posts` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `posts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `posts`, use `cargo add posts` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/1_diesel_bench.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `BelongsTo` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `posts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `posts`, use `cargo add posts` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(Ok(num_rows), insert(&data).into(users::table).execute(&conn)); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(num_rows, users::table.load::(&conn).unwrap().len()); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:83:49 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(Ok(num_rows), insert(&data).into(users::table).execute(&conn)); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `users` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `users`, use `cargo add users` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(Ok(posts.len()), insert(&posts).into(posts::table).execute(&conn)); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `posts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `posts`, use `cargo add posts` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | let query = users.left_outer_join(posts::table) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `posts` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `posts`, use `cargo add posts` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bench-sql` (bench "1_diesel_bench") due to 19 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a18ac3dab26d1fd67a54a3673aaf2b6e0d77df215be42ead95bcfd7b10fd59ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18ac3dab26d1fd67a54a3673aaf2b6e0d77df215be42ead95bcfd7b10fd59ac", kill_on_drop: false }` [INFO] [stdout] a18ac3dab26d1fd67a54a3673aaf2b6e0d77df215be42ead95bcfd7b10fd59ac