[INFO] cloning repository https://github.com/SKalt/pg-to-sqlite3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SKalt/pg-to-sqlite3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSKalt%2Fpg-to-sqlite3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSKalt%2Fpg-to-sqlite3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d55af08353e6c077110b058a22283cde76ab438 [INFO] testing SKalt/pg-to-sqlite3 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%2FSKalt%2Fpg-to-sqlite3" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SKalt/pg-to-sqlite3 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/SKalt/pg-to-sqlite3 [INFO] finished tweaking git repo https://github.com/SKalt/pg-to-sqlite3 [INFO] tweaked toml for git repo https://github.com/SKalt/pg-to-sqlite3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/SKalt/pg-to-sqlite3 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.0 [INFO] [stderr] Downloaded postgres v0.19.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.0 [INFO] [stderr] Downloaded log v0.4.12 [INFO] [stderr] Downloaded postgres-types v0.2.0 [INFO] [stderr] Downloaded rand v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] dbe215daa36f2be667485b5967a773940139919adc7dc52688b65d1fffbaea3e [INFO] running `Command { std: "docker" "start" "-a" "dbe215daa36f2be667485b5967a773940139919adc7dc52688b65d1fffbaea3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe215daa36f2be667485b5967a773940139919adc7dc52688b65d1fffbaea3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe215daa36f2be667485b5967a773940139919adc7dc52688b65d1fffbaea3e", kill_on_drop: false }` [INFO] [stdout] dbe215daa36f2be667485b5967a773940139919adc7dc52688b65d1fffbaea3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] f05f91c1d7bc4aaf0be34c114ff98c427ca49a78e604d70fed8f7b4b371f9482 [INFO] running `Command { std: "docker" "start" "-a" "f05f91c1d7bc4aaf0be34c114ff98c427ca49a78e604d70fed8f7b4b371f9482", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling log v0.4.12 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling postgres-protocol v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-util v0.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling postgres-types v0.2.0 [INFO] [stderr] Compiling rusqlite v0.24.2 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling tokio-postgres v0.7.0 [INFO] [stderr] Compiling postgres v0.19.0 [INFO] [stderr] Compiling pg-to-sqlite3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RowIter`, `Transaction` [INFO] [stdout] --> src/pg/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use postgres::{self, RowIter, Transaction}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque`, `intrinsics::transmute` [INFO] [stdout] --> src/pg/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fallible_iterator::FallibleIterator` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fallible_iterator::FallibleIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oid` [INFO] [stdout] --> src/pg/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | oid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oid` [INFO] [stdout] --> src/pg/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | oid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `defn` [INFO] [stdout] --> src/pg/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | defn: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view_oid` [INFO] [stdout] --> src/pg/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | view_oid: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rel_oid` [INFO] [stdout] --> src/pg/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | rel_oid: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fkey_constraints` [INFO] [stdout] --> src/pg/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fkey_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view_rel_usage` [INFO] [stdout] --> src/pg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | view_rel_usage: Vec, // TODO: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dependency_graph` [INFO] [stdout] --> src/pg/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | dependency_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_` [INFO] [stdout] --> src/pg/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_` [INFO] [stdout] --> src/pg/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/pg/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_namespace` [INFO] [stdout] --> src/pg/validate.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn validate_namespace(si: &SchemaInformation) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_fkey_tables_present` [INFO] [stdout] --> src/pg/validate.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn validate_fkey_tables_present(si: &SchemaInformation) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pg/introspection.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f05f91c1d7bc4aaf0be34c114ff98c427ca49a78e604d70fed8f7b4b371f9482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05f91c1d7bc4aaf0be34c114ff98c427ca49a78e604d70fed8f7b4b371f9482", kill_on_drop: false }` [INFO] [stdout] f05f91c1d7bc4aaf0be34c114ff98c427ca49a78e604d70fed8f7b4b371f9482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] d249da4c210c2fef6fdd5b402bfb19db77ad1de87b0cd34a20c032a7339d9f46 [INFO] running `Command { std: "docker" "start" "-a" "d249da4c210c2fef6fdd5b402bfb19db77ad1de87b0cd34a20c032a7339d9f46", kill_on_drop: false }` [INFO] [stderr] Compiling pg-to-sqlite3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RowIter`, `Transaction` [INFO] [stdout] --> src/pg/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use postgres::{self, RowIter, Transaction}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque`, `intrinsics::transmute` [INFO] [stdout] --> src/pg/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fallible_iterator::FallibleIterator` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fallible_iterator::FallibleIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oid` [INFO] [stdout] --> src/pg/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | oid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oid` [INFO] [stdout] --> src/pg/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | oid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `defn` [INFO] [stdout] --> src/pg/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | defn: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view_oid` [INFO] [stdout] --> src/pg/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | view_oid: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rel_oid` [INFO] [stdout] --> src/pg/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | rel_oid: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fkey_constraints` [INFO] [stdout] --> src/pg/mod.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fkey_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view_rel_usage` [INFO] [stdout] --> src/pg/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | view_rel_usage: Vec, // TODO: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dependency_graph` [INFO] [stdout] --> src/pg/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | dependency_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_` [INFO] [stdout] --> src/pg/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_` [INFO] [stdout] --> src/pg/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pg/mod.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/pg/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_namespace` [INFO] [stdout] --> src/pg/validate.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn validate_namespace(si: &SchemaInformation) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_fkey_tables_present` [INFO] [stdout] --> src/pg/validate.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn validate_fkey_tables_present(si: &SchemaInformation) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pg/introspection.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d249da4c210c2fef6fdd5b402bfb19db77ad1de87b0cd34a20c032a7339d9f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d249da4c210c2fef6fdd5b402bfb19db77ad1de87b0cd34a20c032a7339d9f46", kill_on_drop: false }` [INFO] [stdout] d249da4c210c2fef6fdd5b402bfb19db77ad1de87b0cd34a20c032a7339d9f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 6b74de641f55127078900cd2881d654c4c0a1a126b6efad2c6428a34a9894671 [INFO] running `Command { std: "docker" "start" "-a" "6b74de641f55127078900cd2881d654c4c0a1a126b6efad2c6428a34a9894671", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RowIter`, `Transaction` [INFO] [stderr] --> src/pg/mod.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use postgres::{self, RowIter, Transaction}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `VecDeque`, `intrinsics::transmute` [INFO] [stderr] --> src/pg/mod.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | collections::{HashMap, VecDeque}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | intrinsics::transmute, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fallible_iterator::FallibleIterator` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use fallible_iterator::FallibleIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `oid` [INFO] [stderr] --> src/pg/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | oid: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `oid` [INFO] [stderr] --> src/pg/mod.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | oid: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `defn` [INFO] [stderr] --> src/pg/mod.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | defn: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CheckConstraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `view_oid` [INFO] [stderr] --> src/pg/mod.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | view_oid: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:99:10 [INFO] [stderr] | [INFO] [stderr] 99 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rel_oid` [INFO] [stderr] --> src/pg/mod.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | rel_oid: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ViewRelUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:99:10 [INFO] [stderr] | [INFO] [stderr] 99 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fkey_constraints` [INFO] [stderr] --> src/pg/mod.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | fkey_constraints: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `view_rel_usage` [INFO] [stderr] --> src/pg/mod.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | view_rel_usage: Vec, // TODO: HashMap [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dependency_graph` [INFO] [stderr] --> src/pg/mod.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | dependency_graph: Graph, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SchemaInformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `type_` [INFO] [stderr] --> src/pg/mod.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | type_: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `type_` [INFO] [stderr] --> src/pg/mod.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | type_: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pg/mod.rs:139:10 [INFO] [stderr] | [INFO] [stderr] 139 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `validate` [INFO] [stderr] --> src/pg/mod.rs:242:8 [INFO] [stderr] | [INFO] [stderr] 242 | fn validate(&self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_namespace` [INFO] [stderr] --> src/pg/validate.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn validate_namespace(si: &SchemaInformation) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_fkey_tables_present` [INFO] [stderr] --> src/pg/validate.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn validate_fkey_tables_present(si: &SchemaInformation) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pg/introspection.rs:23:85 [INFO] [stderr] | [INFO] [stderr] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!(err)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 23 | let pg_type = get_pg_type_from_name(&data_type).unwrap_or_else(|err| panic!("{}", err)); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `pg-to-sqlite3` (bin "pg-to-sqlite3" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pg_to_sqlite3-43d1b96461f38c85) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test cli::test_parsing_src_and_dest ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b74de641f55127078900cd2881d654c4c0a1a126b6efad2c6428a34a9894671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b74de641f55127078900cd2881d654c4c0a1a126b6efad2c6428a34a9894671", kill_on_drop: false }` [INFO] [stdout] 6b74de641f55127078900cd2881d654c4c0a1a126b6efad2c6428a34a9894671