[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] testing pandaman64/how-to-count-distinct against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/how-to-count-distinct on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-14/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 831a71b8cb1b69ee01c7840f00694c182051ca97d91f2920c452b8ba7893e3d0 [INFO] running `Command { std: "docker" "start" "-a" "831a71b8cb1b69ee01c7840f00694c182051ca97d91f2920c452b8ba7893e3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "831a71b8cb1b69ee01c7840f00694c182051ca97d91f2920c452b8ba7893e3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831a71b8cb1b69ee01c7840f00694c182051ca97d91f2920c452b8ba7893e3d0", kill_on_drop: false }` [INFO] [stdout] 831a71b8cb1b69ee01c7840f00694c182051ca97d91f2920c452b8ba7893e3d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79f294f57c500e220c823d4be8330835898acdf3dc58396c31f7e5de9981f171 [INFO] running `Command { std: "docker" "start" "-a" "79f294f57c500e220c823d4be8330835898acdf3dc58396c31f7e5de9981f171", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [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] [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 `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "79f294f57c500e220c823d4be8330835898acdf3dc58396c31f7e5de9981f171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f294f57c500e220c823d4be8330835898acdf3dc58396c31f7e5de9981f171", kill_on_drop: false }` [INFO] [stdout] 79f294f57c500e220c823d4be8330835898acdf3dc58396c31f7e5de9981f171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5d64bdf9ea1ff848c64c62d329975b84960c4e7b178cc0240db76b50fd9c0b8 [INFO] running `Command { std: "docker" "start" "-a" "e5d64bdf9ea1ff848c64c62d329975b84960c4e7b178cc0240db76b50fd9c0b8", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] running `Command { std: "docker" "inspect" "e5d64bdf9ea1ff848c64c62d329975b84960c4e7b178cc0240db76b50fd9c0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d64bdf9ea1ff848c64c62d329975b84960c4e7b178cc0240db76b50fd9c0b8", kill_on_drop: false }` [INFO] [stdout] e5d64bdf9ea1ff848c64c62d329975b84960c4e7b178cc0240db76b50fd9c0b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd17f42d63b6ef5dd998f1be5f2d7ecf0c31a052af22e3eb9f4ef3db49759fd7 [INFO] running `Command { std: "docker" "start" "-a" "fd17f42d63b6ef5dd998f1be5f2d7ecf0c31a052af22e3eb9f4ef3db49759fd7", kill_on_drop: false }` [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | t (id) { [INFO] [stderr] 13 | | id -> Int4, [INFO] [stderr] 14 | | labels -> Array, [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [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 #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | t (id) { [INFO] [stderr] 13 | | id -> Int4, [INFO] [stderr] 14 | | labels -> Array, [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [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 #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `labels` in this scope [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | / table! { [INFO] [stderr] 12 | | t (id) { [INFO] [stderr] 13 | | id -> Int4, [INFO] [stderr] 14 | | labels -> Array, [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [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 #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [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 #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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 #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `how-to-count-distinct` (bin "how-to-count-distinct" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, how-to-count-distinct v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/how_to_count_distinct-05d0137737436070) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd17f42d63b6ef5dd998f1be5f2d7ecf0c31a052af22e3eb9f4ef3db49759fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd17f42d63b6ef5dd998f1be5f2d7ecf0c31a052af22e3eb9f4ef3db49759fd7", kill_on_drop: false }` [INFO] [stdout] fd17f42d63b6ef5dd998f1be5f2d7ecf0c31a052af22e3eb9f4ef3db49759fd7