[INFO] cloning repository https://github.com/pandaman64/how-to-count-distinct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pandaman64/how-to-count-distinct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d75352bb376f32934f1311cc72a59e68d3ac10e7 [INFO] checking pandaman64/how-to-count-distinct against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/how-to-count-distinct on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pandaman64/how-to-count-distinct [INFO] finished tweaking git repo https://github.com/pandaman64/how-to-count-distinct [INFO] tweaked toml for git repo https://github.com/pandaman64/how-to-count-distinct written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/pandaman64/how-to-count-distinct already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded diesel v1.3.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.12 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d53436849988b66a23abe8d78c18976412da09e1814a0ad557c20e6bd691b523 [INFO] running `Command { std: "docker" "start" "-a" "d53436849988b66a23abe8d78c18976412da09e1814a0ad557c20e6bd691b523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d53436849988b66a23abe8d78c18976412da09e1814a0ad557c20e6bd691b523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53436849988b66a23abe8d78c18976412da09e1814a0ad557c20e6bd691b523", kill_on_drop: false }` [INFO] [stdout] d53436849988b66a23abe8d78c18976412da09e1814a0ad557c20e6bd691b523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 120c7ba9818e01ea969e464c006b0abc9bbe67a43c26b8036bfe9aa9b71f39b7 [INFO] running `Command { std: "docker" "start" "-a" "120c7ba9818e01ea969e464c006b0abc9bbe67a43c26b8036bfe9aa9b71f39b7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking diesel v1.3.2 [INFO] [stderr] Checking how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `labels` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `t` in this scope [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewRow` in this scope [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `labels` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / table! { [INFO] [stdout] 12 | | t (id) { [INFO] [stdout] 13 | | id -> Int4, [INFO] [stdout] 14 | | labels -> Array, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `t` in this scope [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `NewRow` in this scope [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn count_distinct_labels(conn: &PgConnection) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn count_distinct_labels(conn: &PgConnection) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.32s [INFO] running `Command { std: "docker" "inspect" "120c7ba9818e01ea969e464c006b0abc9bbe67a43c26b8036bfe9aa9b71f39b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120c7ba9818e01ea969e464c006b0abc9bbe67a43c26b8036bfe9aa9b71f39b7", kill_on_drop: false }` [INFO] [stdout] 120c7ba9818e01ea969e464c006b0abc9bbe67a43c26b8036bfe9aa9b71f39b7