[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] building SKalt/pg-to-sqlite3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSKalt%2Fpg-to-sqlite3" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SKalt/pg-to-sqlite3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SKalt/pg-to-sqlite3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.121 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.70 [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded tokio-util v0.6.0 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded postgres-protocol v0.6.0 [INFO] [stderr] Downloaded cpuid-bool v0.1.2 [INFO] [stderr] Downloaded postgres-types v0.2.0 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.70 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Downloaded vcpkg v0.2.11 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded async-trait v0.1.42 [INFO] [stderr] Downloaded console v0.14.0 [INFO] [stderr] Downloaded standback v0.2.14 [INFO] [stderr] Downloaded indexmap v1.6.1 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.0 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded bumpalo v3.5.0 [INFO] [stderr] Downloaded rusqlite v0.24.2 [INFO] [stderr] Downloaded rand v0.8.1 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.70 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded serde v1.0.123 [INFO] [stderr] Downloaded syn v1.0.58 [INFO] [stderr] Downloaded serde_json v1.0.61 [INFO] [stderr] Downloaded time v0.2.25 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded postgres v0.19.0 [INFO] [stderr] Downloaded indicatif v0.15.0 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded tokio-stream v0.1.1 [INFO] [stderr] Downloaded log v0.4.12 [INFO] [stderr] Downloaded quote v1.0.8 [INFO] [stderr] Downloaded const_fn v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.70 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a62a94871da39c0b7e517cbc045b91d79e273368d764f6e6ba3992abc89e6409 [INFO] running `Command { std: "docker" "start" "-a" "a62a94871da39c0b7e517cbc045b91d79e273368d764f6e6ba3992abc89e6409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a62a94871da39c0b7e517cbc045b91d79e273368d764f6e6ba3992abc89e6409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62a94871da39c0b7e517cbc045b91d79e273368d764f6e6ba3992abc89e6409", kill_on_drop: false }` [INFO] [stdout] a62a94871da39c0b7e517cbc045b91d79e273368d764f6e6ba3992abc89e6409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0628b6cdb0638eefa8725bc61943872cf9410fc1d7e27098e6322082b427083c [INFO] running `Command { std: "docker" "start" "-a" "0628b6cdb0638eefa8725bc61943872cf9410fc1d7e27098e6322082b427083c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling log v0.4.12 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling const_fn v0.4.5 [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 subtle v2.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.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 cc v1.0.66 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling postgres-protocol v0.6.0 [INFO] [stderr] Compiling regex v1.4.3 [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 futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling tokio-postgres v0.7.0 [INFO] [stderr] Compiling rusqlite v0.24.2 [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` and `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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque` and `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: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/pg/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oid` is never read [INFO] [stdout] --> src/pg/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | oid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckConstraint` is never constructed [INFO] [stdout] --> src/pg/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct CheckConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view_oid` and `rel_oid` are never read [INFO] [stdout] --> src/pg/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ViewRelUsage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 101 | view_oid: u32, [INFO] [stdout] | ^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fkey_constraints`, `view_rel_usage`, and `dependency_graph` are never read [INFO] [stdout] --> src/pg/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct SchemaInformation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fkey_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | view_rel_usage: Vec, // TODO: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/pg/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 136 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/pg/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Edge { [INFO] [stdout] | ---- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/pg/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl SchemaInformation { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pg/mod.rs:462:15 [INFO] [stdout] | [INFO] [stdout] 462 | SqliteErr(SqliteErr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SqlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 462 - SqliteErr(SqliteErr), [INFO] [stdout] 462 + SqliteErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pg/mod.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | PgError(PgError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SqlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 463 - PgError(PgError), [INFO] [stdout] 463 + PgError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_namespace` is never used [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 `validate_fkey_tables_present` is never used [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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.70s [INFO] running `Command { std: "docker" "inspect" "0628b6cdb0638eefa8725bc61943872cf9410fc1d7e27098e6322082b427083c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0628b6cdb0638eefa8725bc61943872cf9410fc1d7e27098e6322082b427083c", kill_on_drop: false }` [INFO] [stdout] 0628b6cdb0638eefa8725bc61943872cf9410fc1d7e27098e6322082b427083c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4664ab0e60621ed560065ca817ecfdf1198b21931a74c1e918137c9f513b52c4 [INFO] running `Command { std: "docker" "start" "-a" "4664ab0e60621ed560065ca817ecfdf1198b21931a74c1e918137c9f513b52c4", kill_on_drop: false }` [INFO] [stderr] Compiling pg-to-sqlite3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RowIter` and `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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VecDeque` and `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: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/pg/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oid` is never read [INFO] [stdout] --> src/pg/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | oid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckConstraint` is never constructed [INFO] [stdout] --> src/pg/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct CheckConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `view_oid` and `rel_oid` are never read [INFO] [stdout] --> src/pg/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ViewRelUsage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 101 | view_oid: u32, [INFO] [stdout] | ^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fkey_constraints`, `view_rel_usage`, and `dependency_graph` are never read [INFO] [stdout] --> src/pg/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct SchemaInformation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fkey_constraints: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | view_rel_usage: Vec, // TODO: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/pg/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 136 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/pg/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Edge { [INFO] [stdout] | ---- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/pg/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl SchemaInformation { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pg/mod.rs:462:15 [INFO] [stdout] | [INFO] [stdout] 462 | SqliteErr(SqliteErr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SqlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 462 - SqliteErr(SqliteErr), [INFO] [stdout] 462 + SqliteErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pg/mod.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | PgError(PgError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SqlError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 463 - PgError(PgError), [INFO] [stdout] 463 + PgError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_namespace` is never used [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 `validate_fkey_tables_present` is never used [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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "4664ab0e60621ed560065ca817ecfdf1198b21931a74c1e918137c9f513b52c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4664ab0e60621ed560065ca817ecfdf1198b21931a74c1e918137c9f513b52c4", kill_on_drop: false }` [INFO] [stdout] 4664ab0e60621ed560065ca817ecfdf1198b21931a74c1e918137c9f513b52c4