[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmesmon/rust-psql-bench on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_codegen v0.9.0 [INFO] [stderr] Downloaded md5 v0.2.1 [INFO] [stderr] Downloaded quote v0.3.10 [INFO] [stderr] Downloaded bufstream v0.1.2 [INFO] [stderr] Downloaded fallible-iterator v0.1.3 [INFO] [stderr] Downloaded postgres-protocol v0.1.1 [INFO] [stderr] Downloaded syn v0.10.3 [INFO] [stderr] Downloaded pq-sys v0.2.7 [INFO] [stderr] Downloaded dotenv v0.8.0 [INFO] [stderr] Downloaded postgres v0.13.3 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded libc v0.2.18 [INFO] [stderr] Downloaded diesel v0.9.0 [INFO] [stderr] Downloaded diesel_codegen_shared v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e561f386dabd71829b7e9e8d5ad41b72f1baa96b3571abb942696e4ce0b49606 [INFO] running `Command { std: "docker" "start" "-a" "e561f386dabd71829b7e9e8d5ad41b72f1baa96b3571abb942696e4ce0b49606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e561f386dabd71829b7e9e8d5ad41b72f1baa96b3571abb942696e4ce0b49606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e561f386dabd71829b7e9e8d5ad41b72f1baa96b3571abb942696e4ce0b49606", kill_on_drop: false }` [INFO] [stdout] e561f386dabd71829b7e9e8d5ad41b72f1baa96b3571abb942696e4ce0b49606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4db82e46c438a7bfd0853338aea068b19e5f08e8818f360f470a03f58a7706b9 [INFO] running `Command { std: "docker" "start" "-a" "4db82e46c438a7bfd0853338aea068b19e5f08e8818f360f470a03f58a7706b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling pq-sys v0.2.7 [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 hex v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Checking phf_shared v0.7.20 [INFO] [stderr] Checking md5 v0.2.1 [INFO] [stderr] Compiling quote v0.3.10 [INFO] [stderr] Checking fallible-iterator v0.1.3 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking bufstream v0.1.2 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking bench-sql v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking phf v0.7.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling syn v0.10.3 [INFO] [stderr] Checking postgres-protocol v0.1.1 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling diesel v0.9.0 [INFO] [stderr] Compiling thread_local v0.2.7 [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] 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] = help: consider adding `extern crate users` to use the `users` crate [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: 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[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] 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 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 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 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 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 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 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 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 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 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[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 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 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: aborting due to 17 previous errors [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` (bench "1_diesel_bench") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "4db82e46c438a7bfd0853338aea068b19e5f08e8818f360f470a03f58a7706b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db82e46c438a7bfd0853338aea068b19e5f08e8818f360f470a03f58a7706b9", kill_on_drop: false }` [INFO] [stdout] 4db82e46c438a7bfd0853338aea068b19e5f08e8818f360f470a03f58a7706b9