[INFO] fetching crate eson 0.1.0... [INFO] checking eson-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate eson 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate eson 0.1.0 [INFO] finished tweaking crates.io crate eson 0.1.0 [INFO] tweaked toml for crates.io crate eson 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eson 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding defaultmap v0.3.1 (available: v0.7.0) [INFO] [stderr] Adding float-ord v0.1.2 (available: v0.3.2) [INFO] [stderr] Adding itertools v0.6.5 (available: v0.14.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding ordermap v0.2.13 (available: v1.0.0) [INFO] [stderr] Adding peg v0.5.7 (available: v0.8.5) [INFO] [stderr] Adding permutation v0.2.5 (available: v0.4.1) [INFO] [stderr] Adding simple-logging v1.0.1 (available: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57b13a7a49aa8ec010cf1c84c2c251426aa198735ef2c75ce805d03f52b9e5af [INFO] running `Command { std: "docker" "start" "-a" "57b13a7a49aa8ec010cf1c84c2c251426aa198735ef2c75ce805d03f52b9e5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57b13a7a49aa8ec010cf1c84c2c251426aa198735ef2c75ce805d03f52b9e5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b13a7a49aa8ec010cf1c84c2c251426aa198735ef2c75ce805d03f52b9e5af", kill_on_drop: false }` [INFO] [stdout] 57b13a7a49aa8ec010cf1c84c2c251426aa198735ef2c75ce805d03f52b9e5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51dfe4f4aff3e5b2cc25e5e6633e44836adb2b23dc4d826262e91f5f5669e0da [INFO] running `Command { std: "docker" "start" "-a" "51dfe4f4aff3e5b2cc25e5e6633e44836adb2b23dc4d826262e91f5f5669e0da", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking group-by v1.0.0 [INFO] [stderr] Checking defaultmap v0.3.1 [INFO] [stderr] Checking permutation v0.2.5 [INFO] [stderr] Checking ordermap v0.2.13 [INFO] [stderr] Checking float-ord v0.1.2 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking string-intern v0.1.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Checking simple-logging v1.0.1 [INFO] [stderr] Compiling eson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:484 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z_... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:1110 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:1124 [INFO] [stdout] | [INFO] [stdout] 79 | ...ut , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z0... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:83:462 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:484 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z_... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:1110 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:79:1124 [INFO] [stdout] | [INFO] [stdout] 79 | ...ut , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z0... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:83:462 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dependencies.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let mut inds = self.inds.get_mut(tables.clone()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/normalize.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table = self.tables.get_mut(&table_name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut table = schema.tables.get_mut(&freq.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut table = schema.tables.get_mut(&fd.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for mut table in schema.tables.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_fd` is never used [INFO] [stdout] --> src/model.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 338 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn contains_fd(&self, fd: &FD) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | fd.1.iter().map(|s| s.parse().unwrap()).collect::>(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | fd.2.iter().map(|s| s.parse().unwrap()).collect::>() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let left_table = ind.0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let right_table = ind.2.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let lhs = ind.1.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let rhs = ind.3.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/model.rs:394:65 [INFO] [stdout] | [INFO] [stdout] 394 | }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `FD` does not implement `Clone`, so calling `clone` on `&FD` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 394 - }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] 394 + }).expect(&format!("No primary key found for {}", self)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `FD`, implement `Clone` for it [INFO] [stdout] --> src/dependencies.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub struct FD { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eson` (bin "eson") due to 12 previous errors; 11 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | name: (t.name.to_string().clone() + "_base").parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | name: (t.name.to_string().clone() + "_ext").parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | name: format!("{}_{}", left_table.name, right_table.name).parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | new_name = format!("{}{}", new_name, suffix).as_str().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let parsed_name = name.parse().expect(&format!("Invalid field name {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let parsed_name = table.parse().expect(&format!("Invalid table name {}", table)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dependencies.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let mut inds = self.inds.get_mut(tables.clone()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/normalize.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table = self.tables.get_mut(&table_name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut table = schema.tables.get_mut(&freq.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut table = schema.tables.get_mut(&fd.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for mut table in schema.tables.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | fd.1.iter().map(|s| s.parse().unwrap()).collect::>(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | fd.2.iter().map(|s| s.parse().unwrap()).collect::>() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let left_table = ind.0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let right_table = ind.2.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let lhs = ind.1.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let rhs = ind.3.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dependencies.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | let mut schema = schema! {t1, t2, t3}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dependencies.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let mut schema = schema! {t1, t2, t3}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dependencies.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 458 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/model.rs:394:65 [INFO] [stdout] | [INFO] [stdout] 394 | }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `dependencies::FD` does not implement `Clone`, so calling `clone` on `&dependencies::FD` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 394 - }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] 394 + }).expect(&format!("No primary key found for {}", self)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `dependencies::FD`, implement `Clone` for it [INFO] [stdout] --> src/dependencies.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub struct FD { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:849:22 [INFO] [stdout] | [INFO] [stdout] 849 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:866:22 [INFO] [stdout] | [INFO] [stdout] 866 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:884:22 [INFO] [stdout] | [INFO] [stdout] 884 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:908:22 [INFO] [stdout] | [INFO] [stdout] 908 | let mut schema = schema! {t1, t2, t3}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:936:22 [INFO] [stdout] | [INFO] [stdout] 936 | let mut schema = schema! {t1, t2, t3}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:956:22 [INFO] [stdout] | [INFO] [stdout] 956 | let mut schema = schema! {t}; [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:974:22 [INFO] [stdout] | [INFO] [stdout] 974 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:993:22 [INFO] [stdout] | [INFO] [stdout] 993 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:1021:22 [INFO] [stdout] | [INFO] [stdout] 1021 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:1070:22 [INFO] [stdout] | [INFO] [stdout] 1070 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | name: (t.name.to_string().clone() + "_base").parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | name: (t.name.to_string().clone() + "_ext").parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | name: format!("{}_{}", left_table.name, right_table.name).parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/normalize.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | new_name = format!("{}{}", new_name, suffix).as_str().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | let mut schema = schema! {t}; [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | assert_has_key!(t2, field_vec!["bar"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | assert_has_key!(t2, field_vec!["bar"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | let mut schema = schema! {t}; [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | assert_has_key!(t2, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | assert_has_key!(t2, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:438:22 [INFO] [stdout] | [INFO] [stdout] 438 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | assert_missing_fields!(table, field_vec!["baz"]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_fields` which comes from the expansion of the macro `assert_missing_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 - format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] 37 + "{} found in {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/macros.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | tables: collect![$($table.name.to_string().parse().unwrap() => $table),+], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | let mut schema = schema! {t1, t2}; [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | assert_missing_fields!(table, field_vec!["quux"]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_fields` which comes from the expansion of the macro `assert_missing_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 - format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] 37 + "{} found in {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let parsed_name = name.parse().expect(&format!("Invalid field name {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-ec6b59d2b7a2c576/out/input.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let parsed_name = table.parse().expect(&format!("Invalid table name {}", table)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eson` (bin "eson" test) due to 31 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "51dfe4f4aff3e5b2cc25e5e6633e44836adb2b23dc4d826262e91f5f5669e0da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51dfe4f4aff3e5b2cc25e5e6633e44836adb2b23dc4d826262e91f5f5669e0da", kill_on_drop: false }` [INFO] [stdout] 51dfe4f4aff3e5b2cc25e5e6633e44836adb2b23dc4d826262e91f5f5669e0da