[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmesmon/rust-psql-bench on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/jmesmon/rust-psql-bench already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_codegen v0.9.0 [INFO] [stderr] Downloaded diesel_codegen_shared v0.9.0 [INFO] [stderr] Downloaded postgres v0.13.3 [INFO] [stderr] Downloaded postgres-protocol v0.1.1 [INFO] [stderr] Downloaded diesel v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aba2c446c0fcf47edae328516e3194d53a64978f75586f87e20f81b71d536abd [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" "aba2c446c0fcf47edae328516e3194d53a64978f75586f87e20f81b71d536abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aba2c446c0fcf47edae328516e3194d53a64978f75586f87e20f81b71d536abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba2c446c0fcf47edae328516e3194d53a64978f75586f87e20f81b71d536abd", kill_on_drop: false }` [INFO] [stdout] aba2c446c0fcf47edae328516e3194d53a64978f75586f87e20f81b71d536abd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e91859f3712835ec98f0af322119dd9a1bf6a312d12da79666bec0332ffb5001 [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" "e91859f3712835ec98f0af322119dd9a1bf6a312d12da79666bec0332ffb5001", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling pq-sys v0.2.7 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Checking fallible-iterator v0.1.3 [INFO] [stderr] Checking md5 v0.2.1 [INFO] [stderr] Checking phf_shared v0.7.20 [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] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking phf v0.7.20 [INFO] [stderr] Checking postgres-protocol v0.1.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Checking diesel v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Checking postgres v0.13.3 [INFO] [stderr] Compiling regex v0.1.80 [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] 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] | ^^^^^ help: use `dyn`: `dyn ToSql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn ToSql` [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] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn postgres::types::ToSql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> benches/2_postgres_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> benches/2_postgres_bench.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hair_color` [INFO] [stdout] --> benches/2_postgres_bench.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | hair_color: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> benches/2_postgres_bench.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> benches/2_postgres_bench.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | user_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> benches/2_postgres_bench.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `body` [INFO] [stdout] --> benches/2_postgres_bench.rs:21:5 [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)]` 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] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `users`? [INFO] [stdout] --> benches/1_diesel_bench.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | use users::dsl::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `users`? [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 a macro (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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users` [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[E0433]: failed to resolve: use of undeclared crate or module `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users` [INFO] [stdout] --> benches/1_diesel_bench.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `users` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `posts` [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[E0433]: failed to resolve: use of undeclared crate or module `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `posts` [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[E0433]: failed to resolve: use of undeclared crate or module `posts` [INFO] [stdout] --> benches/1_diesel_bench.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `posts` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bench-sql` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e91859f3712835ec98f0af322119dd9a1bf6a312d12da79666bec0332ffb5001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91859f3712835ec98f0af322119dd9a1bf6a312d12da79666bec0332ffb5001", kill_on_drop: false }` [INFO] [stdout] e91859f3712835ec98f0af322119dd9a1bf6a312d12da79666bec0332ffb5001