[INFO] updating cached repository https://github.com/jmesmon/rust-psql-bench [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] aa7e1f56eae7fdec74ff14315d4fbcae77419e92 [INFO] checking jmesmon/rust-psql-bench against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmesmon%2Frust-psql-bench" "/workspace/builds/worker-5/source"` [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 nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-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" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3a21185eb1b67789a96a00320446b39cede08d9ed2ad6c9f746a364cf54207a [INFO] running `"docker" "start" "-a" "d3a21185eb1b67789a96a00320446b39cede08d9ed2ad6c9f746a364cf54207a"` [INFO] [stderr] Compiling pq-sys v0.2.7 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Checking bench-sql v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling syn v0.10.3 [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] Compiling diesel v0.9.0 [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] [stderr] error[E0433]: failed to resolve: maybe a missing crate `users`? [INFO] [stderr] --> benches/1_diesel_bench.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | use users::dsl::*; [INFO] [stderr] | ^^^^^ maybe a missing crate `users`? [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `InferSchema` in this scope [INFO] [stderr] --> benches/1_diesel_bench.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | infer_schema!("env:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `options` in this scope [INFO] [stderr] --> benches/1_diesel_bench.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | infer_schema!("env:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:29:35 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:59:49 [INFO] [stderr] | [INFO] [stderr] 59 | assert_eq!(Ok(num_rows), insert(&data).into(users::table).execute(&conn)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:62:30 [INFO] [stderr] | [INFO] [stderr] 62 | assert_eq!(num_rows, users::table.load::(&conn).unwrap().len()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stderr] --> benches/1_diesel_bench.rs:83:49 [INFO] [stderr] | [INFO] [stderr] 83 | assert_eq!(Ok(num_rows), insert(&data).into(users::table).execute(&conn)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `users` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:84:53 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(Ok(posts.len()), insert(&posts).into(posts::table).execute(&conn)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stderr] --> benches/1_diesel_bench.rs:89:43 [INFO] [stderr] | [INFO] [stderr] 89 | let query = users.left_outer_join(posts::table) [INFO] [stderr] | ^^^^^ use of undeclared type or module `posts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `users` in this scope [INFO] [stderr] --> benches/1_diesel_bench.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | let query = users.left_outer_join(posts::table) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `hair_color` in this scope [INFO] [stderr] --> benches/1_diesel_bench.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | .filter(hair_color.eq("black")) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `name` in this scope [INFO] [stderr] --> benches/1_diesel_bench.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | .order(name.desc()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `bench-sql`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d3a21185eb1b67789a96a00320446b39cede08d9ed2ad6c9f746a364cf54207a"` [INFO] running `"docker" "rm" "-f" "d3a21185eb1b67789a96a00320446b39cede08d9ed2ad6c9f746a364cf54207a"` [INFO] [stdout] d3a21185eb1b67789a96a00320446b39cede08d9ed2ad6c9f746a364cf54207a