[INFO] cloning repository https://github.com/treyktw/Unison [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/treyktw/Unison" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreyktw%2FUnison", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreyktw%2FUnison'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcffb29f94a295186ed8549f7175d8233f9f5322 [INFO] checking treyktw/Unison against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftreyktw%2FUnison" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/treyktw/Unison [INFO] finished tweaking git repo https://github.com/treyktw/Unison [INFO] tweaked toml for git repo https://github.com/treyktw/Unison written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/treyktw/Unison on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/treyktw/Unison 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded clap v4.5.34 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded clap_builder v4.5.34 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a698d902f203399594d1bf3b20bea49fc7426d792a9e1d5c8d157a8155a4a0 [INFO] running `Command { std: "docker" "start" "-a" "d7a698d902f203399594d1bf3b20bea49fc7426d792a9e1d5c8d157a8155a4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a698d902f203399594d1bf3b20bea49fc7426d792a9e1d5c8d157a8155a4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a698d902f203399594d1bf3b20bea49fc7426d792a9e1d5c8d157a8155a4a0", kill_on_drop: false }` [INFO] [stdout] d7a698d902f203399594d1bf3b20bea49fc7426d792a9e1d5c8d157a8155a4a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ada8758499a078777749e1e5454a96fddfeb1bee73f95ece8a321321f35d06 [INFO] running `Command { std: "docker" "start" "-a" "44ada8758499a078777749e1e5454a96fddfeb1bee73f95ece8a321321f35d06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking clap_builder v4.5.34 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking clap v4.5.34 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking unison-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | PLUGIN_REGISTRY.as_mut().unwrap().insert(name, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / PLUGIN_REGISTRY [INFO] [stdout] 38 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let registry = PLUGIN_REGISTRY.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking unison-typescript-plugin v0.1.0 (/opt/rustwide/workdir/plugins/typescript) [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | PLUGIN_REGISTRY.as_mut().unwrap().insert(name, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / PLUGIN_REGISTRY [INFO] [stdout] 38 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | if PLUGIN_REGISTRY.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> core/src/plugin/loader.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let registry = PLUGIN_REGISTRY.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking unison-cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused variable: `total_fk_columns` [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let total_fk_columns = refs.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_fk_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_fk_columns` [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let total_fk_columns = refs.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_fk_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unison v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColumnDefinition`, `DatabaseConnector`, `RelationshipType`, `Relationship`, and `TableStructure` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DatabaseConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TableStructure, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ColumnDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Relationship, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | RelationshipType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnDefinition`, `DatabaseConnector`, `RelationshipType`, `Relationship`, and `TableStructure` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | DatabaseConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | TableStructure, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ColumnDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Relationship, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | RelationshipType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `selection::select_database_provider` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use selection::select_database_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `selection::select_database_provider` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use selection::select_database_provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table_selection::select_tables` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use table_selection::select_tables; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table_selection::select_tables` [INFO] [stdout] --> cli/src/interactive/database/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use table_selection::select_tables; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_fk_columns` [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let total_fk_columns = refs.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_fk_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_fk_columns` [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let total_fk_columns = refs.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_fk_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_type` and `enums` are never read [INFO] [stdout] --> cli/src/interactive/mod.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct SchemaInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | pub source_type: source_selection::DataSourceType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub enums: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_connection_string` is never used [INFO] [stdout] --> cli/src/interactive/config.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn mask_connection_string(connection: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_connection`, `get_relationships`, and `disconnect` are never used [INFO] [stdout] --> cli/src/interactive/database/connector.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait DatabaseConnector: Send + Sync { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn test_connection(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_relationships(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn disconnect(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ConnectionCredentials { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub options: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionCredentials` 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 `name` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TableStructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 51 | /// Table name [INFO] [stdout] 52 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableStructure` 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 `comment` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ColumnDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnDefinition` 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 `name` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct IndexDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 79 | /// Index name [INFO] [stdout] 80 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexDefinition` 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: fields `name`, `source_columns`, and `target_columns` are never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Relationship { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 90 | /// Constraint name (optional) [INFO] [stdout] 91 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub source_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub target_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relationship` 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: variants `OneToOne`, `OneToMany`, `ManyToOne`, and `ManyToMany` are never constructed [INFO] [stdout] --> cli/src/interactive/database/connector.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum RelationshipType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 107 | /// One-to-one relationship [INFO] [stdout] 108 | OneToOne, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | /// One-to-many relationship [INFO] [stdout] 110 | OneToMany, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | /// Many-to-one relationship [INFO] [stdout] 112 | ManyToOne, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | /// Many-to-many relationship [INFO] [stdout] 114 | ManyToMany, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelationshipType` 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: function `mask_connection_string` is never used [INFO] [stdout] --> cli/src/interactive/database/credential.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn mask_connection_string(connection_string: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_tables` is never used [INFO] [stdout] --> cli/src/interactive/database/table_selection.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn filter_tables(tables: &[String], pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_tables_by_prefix` is never used [INFO] [stdout] --> cli/src/interactive/database/table_selection.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn group_tables_by_prefix(tables: &[String]) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_unique_constraint` is never used [INFO] [stdout] --> cli/src/interactive/database/providers/mysql.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | async fn is_unique_constraint(pool: &MySqlPool, database: &str, table: &str, columns: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_relationships` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn detect_relationships(tables: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_relationship_types` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn determine_relationship_types(relationships: &mut Vec, tables: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_junction_tables` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn detect_junction_tables(relationships: &[Relationship]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_relationship_names` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn generate_relationship_names(relationships: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_type` and `enums` are never read [INFO] [stdout] --> cli/src/interactive/mod.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct SchemaInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | pub source_type: source_selection::DataSourceType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub enums: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_connection_string` is never used [INFO] [stdout] --> cli/src/interactive/config.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn mask_connection_string(connection: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_connection`, `get_relationships`, and `disconnect` are never used [INFO] [stdout] --> cli/src/interactive/database/connector.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait DatabaseConnector: Send + Sync { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn test_connection(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_relationships(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn disconnect(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ConnectionCredentials { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub options: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionCredentials` 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 `name` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TableStructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 51 | /// Table name [INFO] [stdout] 52 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableStructure` 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 `comment` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ColumnDefinition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnDefinition` 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 `name` is never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct IndexDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 79 | /// Index name [INFO] [stdout] 80 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexDefinition` 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: fields `name`, `source_columns`, and `target_columns` are never read [INFO] [stdout] --> cli/src/interactive/database/connector.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Relationship { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 90 | /// Constraint name (optional) [INFO] [stdout] 91 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub source_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub target_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relationship` 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: variants `OneToOne`, `OneToMany`, `ManyToOne`, and `ManyToMany` are never constructed [INFO] [stdout] --> cli/src/interactive/database/connector.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum RelationshipType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 107 | /// One-to-one relationship [INFO] [stdout] 108 | OneToOne, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | /// One-to-many relationship [INFO] [stdout] 110 | OneToMany, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | /// Many-to-one relationship [INFO] [stdout] 112 | ManyToOne, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | /// Many-to-many relationship [INFO] [stdout] 114 | ManyToMany, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelationshipType` 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: function `filter_tables` is never used [INFO] [stdout] --> cli/src/interactive/database/table_selection.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn filter_tables(tables: &[String], pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_tables_by_prefix` is never used [INFO] [stdout] --> cli/src/interactive/database/table_selection.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn group_tables_by_prefix(tables: &[String]) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_unique_constraint` is never used [INFO] [stdout] --> cli/src/interactive/database/providers/mysql.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | async fn is_unique_constraint(pool: &MySqlPool, database: &str, table: &str, columns: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_relationships` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn detect_relationships(tables: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_relationship_types` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn determine_relationship_types(relationships: &mut Vec, tables: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_junction_tables` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn detect_junction_tables(relationships: &[Relationship]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_relationship_names` is never used [INFO] [stdout] --> cli/src/interactive/database/schema/relationship.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn generate_relationship_names(relationships: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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" "44ada8758499a078777749e1e5454a96fddfeb1bee73f95ece8a321321f35d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ada8758499a078777749e1e5454a96fddfeb1bee73f95ece8a321321f35d06", kill_on_drop: false }` [INFO] [stdout] 44ada8758499a078777749e1e5454a96fddfeb1bee73f95ece8a321321f35d06