[INFO] cloning repository https://github.com/pcolusso/pg_tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcolusso/pg_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcolusso%2Fpg_tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcolusso%2Fpg_tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2329cdfecb0d5e0b9975720a0e98321e8a9db990 [INFO] testing pcolusso/pg_tool against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcolusso%2Fpg_tool" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pcolusso/pg_tool on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pcolusso/pg_tool [INFO] finished tweaking git repo https://github.com/pcolusso/pg_tool [INFO] tweaked toml for git repo https://github.com/pcolusso/pg_tool written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/pcolusso/pg_tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1783d7aa25f72f2a43412f81028b70ee6341fbe17b398318e29a11cfe134e611 [INFO] running `Command { std: "docker" "start" "-a" "1783d7aa25f72f2a43412f81028b70ee6341fbe17b398318e29a11cfe134e611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1783d7aa25f72f2a43412f81028b70ee6341fbe17b398318e29a11cfe134e611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1783d7aa25f72f2a43412f81028b70ee6341fbe17b398318e29a11cfe134e611", kill_on_drop: false }` [INFO] [stdout] 1783d7aa25f72f2a43412f81028b70ee6341fbe17b398318e29a11cfe134e611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60b596e58cef6cec550ab9fe409992489c166941b77e0be9169ef6e85617e85a [INFO] running `Command { std: "docker" "start" "-a" "60b596e58cef6cec550ab9fe409992489c166941b77e0be9169ef6e85617e85a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling simple-error v0.1.13 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling console v0.7.5 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling pg_tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Arg, App}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/settings.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn load_settings() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn load_settings() -> Result> { [INFO] [stdout] 13 + pub fn load_settings() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/query.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] 4 + pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dump.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] 7 + pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | let matches = App::new("postgres-tool") [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | dump::dump(tx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | map_writer.write(format!("cd: {:?}\n", line_number).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | transmitter.send(size_accrued); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.13s [INFO] running `Command { std: "docker" "inspect" "60b596e58cef6cec550ab9fe409992489c166941b77e0be9169ef6e85617e85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b596e58cef6cec550ab9fe409992489c166941b77e0be9169ef6e85617e85a", kill_on_drop: false }` [INFO] [stdout] 60b596e58cef6cec550ab9fe409992489c166941b77e0be9169ef6e85617e85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e44912569307b38a307b28ee089dec818176b490388ab7775bdc210453d5f060 [INFO] running `Command { std: "docker" "start" "-a" "e44912569307b38a307b28ee089dec818176b490388ab7775bdc210453d5f060", kill_on_drop: false }` [INFO] [stderr] Compiling pg_tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Arg, App}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/settings.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn load_settings() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn load_settings() -> Result> { [INFO] [stdout] 13 + pub fn load_settings() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/query.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] 4 + pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dump.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] 7 + pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | let matches = App::new("postgres-tool") [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | dump::dump(tx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | map_writer.write(format!("cd: {:?}\n", line_number).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dump.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | transmitter.send(size_accrued); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "e44912569307b38a307b28ee089dec818176b490388ab7775bdc210453d5f060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44912569307b38a307b28ee089dec818176b490388ab7775bdc210453d5f060", kill_on_drop: false }` [INFO] [stdout] e44912569307b38a307b28ee089dec818176b490388ab7775bdc210453d5f060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 175561e6378dd786c49ccf995cd0775c2fece40163fec7bae595a55ee2387e14 [INFO] running `Command { std: "docker" "start" "-a" "175561e6378dd786c49ccf995cd0775c2fece40163fec7bae595a55ee2387e14", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Arg` [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{Arg, App}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/settings.rs:13:50 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn load_settings() -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - pub fn load_settings() -> Result> { [INFO] [stderr] 13 + pub fn load_settings() -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/query.rs:4:66 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 - pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stderr] 4 + pub fn get_db_size(connection_string: String) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dump.rs:7:59 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stderr] 7 + pub fn dump(transmitter: Sender) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `matches` [INFO] [stderr] --> src/main.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | let matches = App::new("postgres-tool") [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | dump::dump(tx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dump.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | map_writer.write(format!("cd: {:?}\n", line_number).as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/dump.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | transmitter.send(size_accrued); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `pg_tool` (bin "pg_tool" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pg_tool-9caba288f57dc993) [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" "175561e6378dd786c49ccf995cd0775c2fece40163fec7bae595a55ee2387e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175561e6378dd786c49ccf995cd0775c2fece40163fec7bae595a55ee2387e14", kill_on_drop: false }` [INFO] [stdout] 175561e6378dd786c49ccf995cd0775c2fece40163fec7bae595a55ee2387e14