[INFO] cloning repository https://github.com/CertainLach/immigrant [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CertainLach/immigrant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fimmigrant", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fimmigrant'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25c34cf9d3407f62e81a3dd13f9650f0709e5d83 [INFO] testing CertainLach/immigrant against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fimmigrant" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/CertainLach/immigrant [INFO] finished tweaking git repo https://github.com/CertainLach/immigrant [INFO] tweaked toml for git repo https://github.com/CertainLach/immigrant written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CertainLach/immigrant on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CertainLach/immigrant 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a03852a6a197e22b1790ba643d01d93e7fbe86a76e0100b950d48f9815d785b8 [INFO] running `Command { std: "docker" "start" "-a" "a03852a6a197e22b1790ba643d01d93e7fbe86a76e0100b950d48f9815d785b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03852a6a197e22b1790ba643d01d93e7fbe86a76e0100b950d48f9815d785b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03852a6a197e22b1790ba643d01d93e7fbe86a76e0100b950d48f9815d785b8", kill_on_drop: false }` [INFO] [stdout] a03852a6a197e22b1790ba643d01d93e7fbe86a76e0100b950d48f9815d785b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 1c31c4e8823e75b33cc90dfac24fa20de019e8fb48f77dffd0e062fb5e68fe22 [INFO] running `Command { std: "docker" "start" "-a" "1c31c4e8823e75b33cc90dfac24fa20de019e8fb48f77dffd0e062fb5e68fe22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling tree-sitter-language v0.1.6 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Compiling range-map v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling tree-sitter-immigrant v0.1.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unicode-box-drawing v0.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling replace_with v0.1.8 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling base32 v0.5.1 [INFO] [stderr] Compiling immigrant-generator-postgres v0.2.0 (/opt/rustwide/workdir/crates/generator-postgres) [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling peg v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling permutation v0.4.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hi-doc-jumprope v1.2.1 [INFO] [stderr] Compiling random_color v1.1.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling imara-diff v0.2.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling patch v0.7.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tree-sitter v0.26.3 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling color-print-proc-macro v0.3.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling tree-sitter-highlight v0.26.3 [INFO] [stderr] Compiling immigrant-file-diffs v0.2.0 (/opt/rustwide/workdir/crates/file-diffs) [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling color-print v0.3.7 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling annotated-string v0.3.0 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling hi-doc v0.3.0 [INFO] [stderr] Compiling immigrant-schema v0.2.0 (/opt/rustwide/workdir/crates/schema) [INFO] [stdout] warning: unused imports: `DbIdent` and `self` [INFO] [stdout] --> crates/schema/src/root.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | diagnostics::{self, Report}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | ids::{DbIdent, Ident}, [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 import: `DefName` [INFO] [stdout] --> crates/schema/src/table.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | ColumnIdent, DbColumn, DbForeignKey, DbNativeType, DefName, ForeignKeyKind, MixinIdent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uid` [INFO] [stdout] --> crates/schema/src/view.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | uid::{next_uid, OwnUid, Uid}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> crates/schema/src/ids.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fmt::{self, Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/schema/src/column.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/schema/src/column.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> crates/schema/src/ids.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let kind = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enum_` is never read [INFO] [stdout] --> crates/schema/src/scalar.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EnumItemHandle<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 43 | enum_: SchemaEnum<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumItemHandle` 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: fields `uid` and `name` are never read [INFO] [stdout] --> crates/schema/src/trigger.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Trigger { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | uid: Uid, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | name: TriggerDefName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:433:16 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/schema/src/root.rs:384:54 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 384 - pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] 384 + pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:625:3 [INFO] [stdout] | [INFO] [stdout] 625 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:639:3 [INFO] [stdout] | [INFO] [stdout] 639 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stdout] warning: function `escape_literal` is never used [INFO] [stdout] --> crates/generator-postgres/src/escape.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn escape_literal(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling immigrant-cli v0.2.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Compiling immigrant-diesel v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-diesel) [INFO] [stderr] Compiling immigrant-dmdl v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-dmdl) [INFO] [stderr] Compiling immigrant v0.2.0 (/opt/rustwide/workdir/cmds/immigrant) [INFO] [stderr] Compiling immigrant-web v0.2.0 (/opt/rustwide/workdir/crates/web) [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling immigrant-migrate v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-migrate) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "1c31c4e8823e75b33cc90dfac24fa20de019e8fb48f77dffd0e062fb5e68fe22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c31c4e8823e75b33cc90dfac24fa20de019e8fb48f77dffd0e062fb5e68fe22", kill_on_drop: false }` [INFO] [stdout] 1c31c4e8823e75b33cc90dfac24fa20de019e8fb48f77dffd0e062fb5e68fe22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f55d738efe75c9852b264aa76a28b3c1c83ac941ed7e9779b422c893f9a68025 [INFO] running `Command { std: "docker" "start" "-a" "f55d738efe75c9852b264aa76a28b3c1c83ac941ed7e9779b422c893f9a68025", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `DbIdent` and `self` [INFO] [stdout] --> crates/schema/src/root.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | diagnostics::{self, Report}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | ids::{DbIdent, Ident}, [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 import: `DefName` [INFO] [stdout] --> crates/schema/src/table.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | ColumnIdent, DbColumn, DbForeignKey, DbNativeType, DefName, ForeignKeyKind, MixinIdent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uid` [INFO] [stdout] --> crates/schema/src/view.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | uid::{next_uid, OwnUid, Uid}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> crates/schema/src/ids.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fmt::{self, Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/schema/src/column.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/schema/src/column.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> crates/schema/src/ids.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let kind = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enum_` is never read [INFO] [stdout] --> crates/schema/src/scalar.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EnumItemHandle<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 43 | enum_: SchemaEnum<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumItemHandle` 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: fields `uid` and `name` are never read [INFO] [stdout] --> crates/schema/src/trigger.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Trigger { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | uid: Uid, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | name: TriggerDefName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:433:16 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/schema/src/root.rs:384:54 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 384 - pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] 384 + pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:625:3 [INFO] [stdout] | [INFO] [stdout] 625 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:639:3 [INFO] [stdout] | [INFO] [stdout] 639 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_literal` is never used [INFO] [stdout] --> crates/generator-postgres/src/escape.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn escape_literal(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling immigrant-cli v0.2.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Compiling immigrant-file-diffs v0.2.0 (/opt/rustwide/workdir/crates/file-diffs) [INFO] [stderr] Compiling immigrant-dmdl v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-dmdl) [INFO] [stderr] Compiling immigrant-web v0.2.0 (/opt/rustwide/workdir/crates/web) [INFO] [stderr] Compiling immigrant-generator-postgres v0.2.0 (/opt/rustwide/workdir/crates/generator-postgres) [INFO] [stderr] Compiling immigrant-schema v0.2.0 (/opt/rustwide/workdir/crates/schema) [INFO] [stderr] Compiling immigrant v0.2.0 (/opt/rustwide/workdir/cmds/immigrant) [INFO] [stderr] Compiling immigrant-migrate v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-migrate) [INFO] [stderr] Compiling immigrant-diesel v0.2.0 (/opt/rustwide/workdir/cmds/immigrant-diesel) [INFO] [stdout] warning: unused imports: `DbIdent` and `self` [INFO] [stdout] --> crates/schema/src/root.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | diagnostics::{self, Report}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | ids::{DbIdent, Ident}, [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 import: `DefName` [INFO] [stdout] --> crates/schema/src/table.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | ColumnIdent, DbColumn, DbForeignKey, DbNativeType, DefName, ForeignKeyKind, MixinIdent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uid` [INFO] [stdout] --> crates/schema/src/view.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | uid::{next_uid, OwnUid, Uid}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> crates/schema/src/ids.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fmt::{self, Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:625:3 [INFO] [stdout] | [INFO] [stdout] 625 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_self` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:639:3 [INFO] [stdout] | [INFO] [stdout] 639 | report_self: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_other` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | report_other: &mut Report, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/schema/src/column.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/schema/src/column.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/generator-postgres/src/lib.rs:2298:10 [INFO] [stdout] | [INFO] [stdout] 2298 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_literal` is never used [INFO] [stdout] --> crates/generator-postgres/src/escape.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn escape_literal(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> crates/schema/src/ids.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let kind = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enum_` is never read [INFO] [stdout] --> crates/schema/src/scalar.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EnumItemHandle<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 43 | enum_: SchemaEnum<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumItemHandle` 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: fields `uid` and `name` are never read [INFO] [stdout] --> crates/schema/src/trigger.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Trigger { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | uid: Uid, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | name: TriggerDefName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn as_enum(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 225 | pub fn as_scalar(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn as_composite(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn as_table(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn as_type(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 251 | pub fn as_view(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:433:16 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 | pub fn checks(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/schema/src/lib.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 442 | pub fn unique_constraints(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/schema/src/root.rs:384:54 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 384 - pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stdout] 384 + pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "f55d738efe75c9852b264aa76a28b3c1c83ac941ed7e9779b422c893f9a68025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55d738efe75c9852b264aa76a28b3c1c83ac941ed7e9779b422c893f9a68025", kill_on_drop: false }` [INFO] [stdout] f55d738efe75c9852b264aa76a28b3c1c83ac941ed7e9779b422c893f9a68025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ab162d0cdd5498c33698ae300719437a60abf8a6cd829de5cbd1efc519916227 [INFO] running `Command { std: "docker" "start" "-a" "ab162d0cdd5498c33698ae300719437a60abf8a6cd829de5cbd1efc519916227", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DbIdent` and `self` [INFO] [stderr] --> crates/schema/src/root.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | diagnostics::{self, Report}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | ids::{DbIdent, Ident}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DefName` [INFO] [stderr] --> crates/schema/src/table.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | ColumnIdent, DbColumn, DbForeignKey, DbNativeType, DefName, ForeignKeyKind, MixinIdent, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uid` [INFO] [stderr] --> crates/schema/src/view.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | uid::{next_uid, OwnUid, Uid}, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> crates/schema/src/ids.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fmt::{self, Debug, Display}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> crates/schema/src/column.rs:115:56 [INFO] [stderr] | [INFO] [stderr] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> crates/schema/src/column.rs:115:72 [INFO] [stderr] | [INFO] [stderr] 115 | fn is_compatible(&self, _new: &Self, _rn: &RenameMap, a: &mut Report, b: &mut Report) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kind` [INFO] [stderr] --> crates/schema/src/ids.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | let kind = { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stderr] [INFO] [stderr] warning: field `enum_` is never read [INFO] [stderr] --> crates/schema/src/scalar.rs:43:2 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct EnumItemHandle<'a> { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 43 | enum_: SchemaEnum<'a>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EnumItemHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `uid` and `name` are never read [INFO] [stderr] --> crates/schema/src/trigger.rs:4:2 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Trigger { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 4 | uid: Uid, [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | name: TriggerDefName, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:219:17 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn as_enum(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 219 | pub fn as_enum(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:225:19 [INFO] [stderr] | [INFO] [stderr] 225 | pub fn as_scalar(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 225 | pub fn as_scalar(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:231:22 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn as_composite(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 231 | pub fn as_composite(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:237:18 [INFO] [stderr] | [INFO] [stderr] 237 | pub fn as_table(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 237 | pub fn as_table(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:243:17 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn as_type(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 243 | pub fn as_type(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:251:17 [INFO] [stderr] | [INFO] [stderr] 251 | pub fn as_view(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 251 | pub fn as_view(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:433:16 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn checks(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 433 | pub fn checks(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/schema/src/lib.rs:442:28 [INFO] [stderr] | [INFO] [stderr] 442 | pub fn unique_constraints(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 442 | pub fn unique_constraints(&self) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> crates/schema/src/root.rs:384:54 [INFO] [stderr] | [INFO] [stderr] 384 | pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 384 - pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'_> { [INFO] [stderr] 384 + pub fn sql<'a>(&'a self, sql: &'a Sql) -> SchemaSql<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `immigrant-schema` (lib) generated 18 warnings (run `cargo fix --lib -p immigrant-schema` to apply 16 suggestions) [INFO] [stderr] warning: unused variable: `report_self` [INFO] [stderr] --> crates/generator-postgres/src/lib.rs:624:3 [INFO] [stderr] | [INFO] [stderr] 624 | report_self: &mut Report, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `report_other` [INFO] [stderr] --> crates/generator-postgres/src/lib.rs:625:3 [INFO] [stderr] | [INFO] [stderr] 625 | report_other: &mut Report, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `report_self` [INFO] [stderr] --> crates/generator-postgres/src/lib.rs:639:3 [INFO] [stderr] | [INFO] [stderr] 639 | report_self: &mut Report, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_self` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `report_other` [INFO] [stderr] --> crates/generator-postgres/src/lib.rs:640:3 [INFO] [stderr] | [INFO] [stderr] 640 | report_other: &mut Report, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_other` [INFO] [stderr] [INFO] [stderr] warning: function `escape_literal` is never used [INFO] [stderr] --> crates/generator-postgres/src/escape.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn escape_literal(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `immigrant-generator-postgres` (lib) generated 5 warnings (run `cargo fix --lib -p immigrant-generator-postgres` to apply 4 suggestions) [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> crates/generator-postgres/src/lib.rs:2298:10 [INFO] [stderr] | [INFO] [stderr] 2298 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `immigrant-generator-postgres` (lib test) generated 6 warnings (5 duplicates) (run `cargo fix --lib -p immigrant-generator-postgres --tests` to apply 1 suggestion) [INFO] [stderr] warning: `immigrant-schema` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/immigrant/eece4d82a95abdee/deps/immigrant-eece4d82a95abdee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/immigrant-cli/d1f1d9bd84c60d68/deps/immigrant_cli-d1f1d9bd84c60d68) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/immigrant-diesel/acb2b500c63cabf3/deps/immigrant_diesel-acb2b500c63cabf3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test util::disjoint_union_works ... ok [INFO] [stdout] test tests::test_basic ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_basic stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_basic' (28) panicked at cmds/immigrant-diesel/src/main.rs:875:76: [INFO] [stdout] parse result: () [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c4982676af2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c4982676af2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c4982676af2 - std[840933623431fd06]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5c4982676af2 - <::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5c498268d52a - ::fmt [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5c498268d52a - core[8f93d80df273fe75]::fmt::write [INFO] [stdout] 6: 0x5c498267bfa6 - std[840933623431fd06]::io::default_write_fmt::> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c498267bfa6 - as std[840933623431fd06]::io::Write>::write_fmt [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5c498265493f - ::print [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5c498265493f - std[840933623431fd06]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5c498266ed09 - std[840933623431fd06]::panicking::default_hook [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5c4982097a5e - core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5c4982097a5e - test[2f1252070343a163]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c498266ef72 - core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5c498266ef72 - std[840933623431fd06]::panicking::panic_with_hook [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5c49826549f8 - std[840933623431fd06]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5c498264bf89 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5c498265592d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5c498268dcec - core[8f93d80df273fe75]::panicking::panic_fmt [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c498268da62 - core[8f93d80df273fe75]::result::unwrap_failed [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5c49821ffa2e - >::expect [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5c498206c602 - immigrant_diesel[cc99c08d351bcdaf]::tests::test_generator [INFO] [stdout] at /opt/rustwide/workdir/cmds/immigrant-diesel/src/main.rs:875:67 [INFO] [stdout] 22: 0x5c498206c7b2 - immigrant_diesel[cc99c08d351bcdaf]::tests::test_basic [INFO] [stdout] at /opt/rustwide/workdir/cmds/immigrant-diesel/src/main.rs:883:3 [INFO] [stdout] 23: 0x5c498206b177 - immigrant_diesel[cc99c08d351bcdaf]::tests::test_basic::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/cmds/immigrant-diesel/src/main.rs:882:17 [INFO] [stdout] 24: 0x5c498206d596 - >::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c498208be0b - core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5c498208be0b - test[2f1252070343a163]::__rust_begin_short_backtrace::, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c498209866a - test[2f1252070343a163]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c498209866a - as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5c498209866a - std[840933623431fd06]::panicking::catch_unwind::do_call::, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x5c498209866a - std[840933623431fd06]::panicking::catch_unwind::, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x5c498209866a - std[840933623431fd06]::panic::catch_unwind::, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c498209866a - test[2f1252070343a163]::run_test_in_process [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c498209866a - test[2f1252070343a163]::run_test::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c4982092b34 - test[2f1252070343a163]::run_test::{closure#1} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c4982092b34 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x5c498209b162 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x5c498209b162 - ::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5c498209b162 - std[840933623431fd06]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x5c498209b162 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x5c498209b162 - std[840933623431fd06]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c498209b162 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x5c498209b162 - ::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5c498267638f - + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 44: 0x5c498267638f - ::new::thread_start [INFO] [stdout] at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 45: 0x7a6a4bb4daa4 - [INFO] [stdout] 46: 0x7a6a4bbdaa64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_basic [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p immigrant-diesel --bin immigrant-diesel` [INFO] running `Command { std: "docker" "inspect" "ab162d0cdd5498c33698ae300719437a60abf8a6cd829de5cbd1efc519916227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab162d0cdd5498c33698ae300719437a60abf8a6cd829de5cbd1efc519916227", kill_on_drop: false }` [INFO] [stdout] ab162d0cdd5498c33698ae300719437a60abf8a6cd829de5cbd1efc519916227