[INFO] updating cached repository https://github.com/pandaman64/how-to-count-distinct [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] d75352bb376f32934f1311cc72a59e68d3ac10e7 [INFO] testing pandaman64/how-to-count-distinct against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/how-to-count-distinct on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/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 `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d96abd231085ecd9be5f66cf5eeb73b49521bf63239e1b07e6d5e4dbcf33b3d0 [INFO] running `"docker" "start" "-a" "d96abd231085ecd9be5f66cf5eeb73b49521bf63239e1b07e6d5e4dbcf33b3d0"` [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling diesel v1.3.2 [INFO] [stderr] Compiling how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `labels` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `t` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewRow` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/main.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | fn count_distinct_labels(conn: &PgConnection) -> i64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `"docker" "inspect" "d96abd231085ecd9be5f66cf5eeb73b49521bf63239e1b07e6d5e4dbcf33b3d0"` [INFO] running `"docker" "rm" "-f" "d96abd231085ecd9be5f66cf5eeb73b49521bf63239e1b07e6d5e4dbcf33b3d0"` [INFO] [stdout] d96abd231085ecd9be5f66cf5eeb73b49521bf63239e1b07e6d5e4dbcf33b3d0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79f17b9bacdbc13dd7356ae4bf7ec3c08e5d8ccea907b13904e44c25ae804c20 [INFO] running `"docker" "start" "-a" "79f17b9bacdbc13dd7356ae4bf7ec3c08e5d8ccea907b13904e44c25ae804c20"` [INFO] [stderr] Compiling how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `labels` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `t` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewRow` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/main.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | fn count_distinct_labels(conn: &PgConnection) -> i64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `"docker" "inspect" "79f17b9bacdbc13dd7356ae4bf7ec3c08e5d8ccea907b13904e44c25ae804c20"` [INFO] running `"docker" "rm" "-f" "79f17b9bacdbc13dd7356ae4bf7ec3c08e5d8ccea907b13904e44c25ae804c20"` [INFO] [stdout] 79f17b9bacdbc13dd7356ae4bf7ec3c08e5d8ccea907b13904e44c25ae804c20 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da646d7b52bf467683c946711ddc7cfab48d49215cc987304e901736137fcb74 [INFO] running `"docker" "start" "-a" "da646d7b52bf467683c946711ddc7cfab48d49215cc987304e901736137fcb74"` [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `labels` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `t` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewRow` in this scope [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/main.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | fn count_distinct_labels(conn: &PgConnection) -> i64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/how_to_count_distinct-6d53b8725756f74b [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "da646d7b52bf467683c946711ddc7cfab48d49215cc987304e901736137fcb74"` [INFO] running `"docker" "rm" "-f" "da646d7b52bf467683c946711ddc7cfab48d49215cc987304e901736137fcb74"` [INFO] [stdout] da646d7b52bf467683c946711ddc7cfab48d49215cc987304e901736137fcb74