[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d75352bb376f32934f1311cc72a59e68d3ac10e7 [INFO] testing pandaman64/how-to-count-distinct against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fhow-to-count-distinct" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/how-to-count-distinct on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ce42df54ccf2f6cf9ecc68fcf45d96c9fcdb8d110851faabe9f24f41bd61d76 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5ce42df54ccf2f6cf9ecc68fcf45d96c9fcdb8d110851faabe9f24f41bd61d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce42df54ccf2f6cf9ecc68fcf45d96c9fcdb8d110851faabe9f24f41bd61d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce42df54ccf2f6cf9ecc68fcf45d96c9fcdb8d110851faabe9f24f41bd61d76", kill_on_drop: false }` [INFO] [stdout] 5ce42df54ccf2f6cf9ecc68fcf45d96c9fcdb8d110851faabe9f24f41bd61d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] 09e2cd2dd60b0e5b8296873b30ffde3789e5bdc70c44f53c98fcea7977dba4d0 [INFO] running `Command { std: "docker" "start" "-a" "09e2cd2dd60b0e5b8296873b30ffde3789e5bdc70c44f53c98fcea7977dba4d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.6 [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 quote v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `labels` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [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 #50504 [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 #50504 [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 #50504 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "09e2cd2dd60b0e5b8296873b30ffde3789e5bdc70c44f53c98fcea7977dba4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e2cd2dd60b0e5b8296873b30ffde3789e5bdc70c44f53c98fcea7977dba4d0", kill_on_drop: false }` [INFO] [stdout] 09e2cd2dd60b0e5b8296873b30ffde3789e5bdc70c44f53c98fcea7977dba4d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af22f2726986576e8490c27a2e1dd222edd9c64e3d0fdf2383f34ea4000d68c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7af22f2726986576e8490c27a2e1dd222edd9c64e3d0fdf2383f34ea4000d68c", 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [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 #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `labels` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [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 #50504 [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 #50504 [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 #50504 [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "7af22f2726986576e8490c27a2e1dd222edd9c64e3d0fdf2383f34ea4000d68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af22f2726986576e8490c27a2e1dd222edd9c64e3d0fdf2383f34ea4000d68c", kill_on_drop: false }` [INFO] [stdout] 7af22f2726986576e8490c27a2e1dd222edd9c64e3d0fdf2383f34ea4000d68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] 47d5b547d63c4160504cdef35b5abad4feed39214e33c4f6426cbd0b44285762 [INFO] running `Command { std: "docker" "start" "-a" "47d5b547d63c4160504cdef35b5abad4feed39214e33c4f6426cbd0b44285762", kill_on_drop: false }` [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.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/how_to_count_distinct-40492f3b438c2cad [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 `Command { std: "docker" "inspect" "47d5b547d63c4160504cdef35b5abad4feed39214e33c4f6426cbd0b44285762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d5b547d63c4160504cdef35b5abad4feed39214e33c4f6426cbd0b44285762", kill_on_drop: false }` [INFO] [stdout] 47d5b547d63c4160504cdef35b5abad4feed39214e33c4f6426cbd0b44285762