[INFO] fetching crate bakery 0.1.3... [INFO] testing bakery-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bakery 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate bakery 0.1.3 [INFO] finished tweaking crates.io crate bakery 0.1.3 [INFO] tweaked toml for crates.io crate bakery 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bakery 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bakery-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f56547d19d10ec043a881893ca2df3319a8f970567b6030928946a262e3a94b [INFO] running `Command { std: "docker" "start" "-a" "0f56547d19d10ec043a881893ca2df3319a8f970567b6030928946a262e3a94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f56547d19d10ec043a881893ca2df3319a8f970567b6030928946a262e3a94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f56547d19d10ec043a881893ca2df3319a8f970567b6030928946a262e3a94b", kill_on_drop: false }` [INFO] [stdout] 0f56547d19d10ec043a881893ca2df3319a8f970567b6030928946a262e3a94b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 34cc2eaf07c1f044e6b3ac5cb7906818f72b87f27b28cf778268fce99d1c3950 [INFO] running `Command { std: "docker" "start" "-a" "34cc2eaf07c1f044e6b3ac5cb7906818f72b87f27b28cf778268fce99d1c3950", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling bakery-derive v0.1.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bakery v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let mut child = self.get_item_mut(child_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | DataNotStruct(u32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - DataNotStruct(u32), [INFO] [stdout] 55 + DataNotStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | EnumTypeIsNotInt(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - EnumTypeIsNotInt(u32), [INFO] [stdout] 56 + EnumTypeIsNotInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | EnumValueOutOfBounds(u32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - EnumValueOutOfBounds(u32), [INFO] [stdout] 57 + EnumValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_enum` and `node_name` are never read [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | EnumUndefinedName { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 59 | node_enum: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | node_name: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_nid` is never read [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | EnumUndefinedData { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 63 | data_nid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | ExpectedDatFloat(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - ExpectedDatFloat(u32), [INFO] [stdout] 65 + ExpectedDatFloat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectedDatInt(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - ExpectedDatInt(u32), [INFO] [stdout] 66 + ExpectedDatInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | ExpectedDatStruct(u32), [INFO] [stdout] | ----------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - ExpectedDatStruct(u32), [INFO] [stdout] 67 + ExpectedDatStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | ExpectedDatIdentifier(u32), [INFO] [stdout] | --------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - ExpectedDatIdentifier(u32), [INFO] [stdout] 68 + ExpectedDatIdentifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nid`, `expected`, and `current` are never read [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | GenericArgCountMismatch { [INFO] [stdout] | ----------------------- fields in this variant [INFO] [stdout] 70 | nid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | expected: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | current: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | RedefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - RedefinedValue(u32), [INFO] [stdout] 75 + RedefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_tuple` and `node_data` are never read [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | TupleSizeMismatch { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 77 | node_tuple: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | node_data: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | UndefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 - UndefinedValue(u32), [INFO] [stdout] 80 + UndefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `node` are never read [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | UnresolvedType { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 82 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | node: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | ValueOutOfBounds(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 - ValueOutOfBounds(u32), [INFO] [stdout] 85 + ValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IOError` is never constructed [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum CompilationError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | IOError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `start`, and `end` are never read [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 90 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name_or_anonymous` is never used [INFO] [stdout] --> src/lib.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn name_or_anonymous(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_path` is never used [INFO] [stdout] --> src/lib.rs:921:8 [INFO] [stdout] | [INFO] [stdout] 264 | impl NodeTree { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 921 | fn node_path(&self, id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/lib.rs:1688:4 [INFO] [stdout] | [INFO] [stdout] 1688 | fn print_errors(tree: &NodeTree, errors: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.78s [INFO] running `Command { std: "docker" "inspect" "34cc2eaf07c1f044e6b3ac5cb7906818f72b87f27b28cf778268fce99d1c3950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cc2eaf07c1f044e6b3ac5cb7906818f72b87f27b28cf778268fce99d1c3950", kill_on_drop: false }` [INFO] [stdout] 34cc2eaf07c1f044e6b3ac5cb7906818f72b87f27b28cf778268fce99d1c3950 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0d904c5fae1c9c88368ac00d4851e6935d4e2d13299924c78c70748be5adb4d1 [INFO] running `Command { std: "docker" "start" "-a" "0d904c5fae1c9c88368ac00d4851e6935d4e2d13299924c78c70748be5adb4d1", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let mut child = self.get_item_mut(child_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | DataNotStruct(u32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - DataNotStruct(u32), [INFO] [stdout] 55 + DataNotStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | EnumTypeIsNotInt(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - EnumTypeIsNotInt(u32), [INFO] [stdout] 56 + EnumTypeIsNotInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | EnumValueOutOfBounds(u32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - EnumValueOutOfBounds(u32), [INFO] [stdout] 57 + EnumValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_enum` and `node_name` are never read [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | EnumUndefinedName { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 59 | node_enum: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | node_name: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bakery v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `data_nid` is never read [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | EnumUndefinedData { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 63 | data_nid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | ExpectedDatFloat(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - ExpectedDatFloat(u32), [INFO] [stdout] 65 + ExpectedDatFloat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectedDatInt(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - ExpectedDatInt(u32), [INFO] [stdout] 66 + ExpectedDatInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | ExpectedDatStruct(u32), [INFO] [stdout] | ----------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - ExpectedDatStruct(u32), [INFO] [stdout] 67 + ExpectedDatStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | ExpectedDatIdentifier(u32), [INFO] [stdout] | --------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - ExpectedDatIdentifier(u32), [INFO] [stdout] 68 + ExpectedDatIdentifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nid`, `expected`, and `current` are never read [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | GenericArgCountMismatch { [INFO] [stdout] | ----------------------- fields in this variant [INFO] [stdout] 70 | nid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | expected: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | current: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | RedefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - RedefinedValue(u32), [INFO] [stdout] 75 + RedefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_tuple` and `node_data` are never read [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | TupleSizeMismatch { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 77 | node_tuple: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | node_data: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | UndefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 - UndefinedValue(u32), [INFO] [stdout] 80 + UndefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `node` are never read [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | UnresolvedType { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 82 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | node: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | ValueOutOfBounds(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 - ValueOutOfBounds(u32), [INFO] [stdout] 85 + ValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IOError` is never constructed [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum CompilationError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | IOError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `start`, and `end` are never read [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 90 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name_or_anonymous` is never used [INFO] [stdout] --> src/lib.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn name_or_anonymous(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_path` is never used [INFO] [stdout] --> src/lib.rs:921:8 [INFO] [stdout] | [INFO] [stdout] 264 | impl NodeTree { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 921 | fn node_path(&self, id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/lib.rs:1688:4 [INFO] [stdout] | [INFO] [stdout] 1688 | fn print_errors(tree: &NodeTree, errors: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_enum.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Recipe, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_enum.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Recipe, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_enum.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Recipe, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_enum.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Recipe, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_enum.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Recipe, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_basic_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | test_compile_ser(rec, "A", Some(&hex!("00000000")), E::A); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_basic_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_basic_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | test_compile_ser(rec, "B", Some(&hex!("01000000")), E::B); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_basic_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_basic_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | test_compile_ser(rec, "C", Some(&hex!("02000000")), E::C); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_basic_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | test_compile_ser(rec, "A(0)", Some(&hex!("0000000000000000")), E::A(0)); [INFO] [stdout] | ---------------- required by a bound introduced by this call ^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | test_compile_ser(rec, "A(1)", Some(&hex!("0000000001000000")), E::A(1)); [INFO] [stdout] | ---------------- required by a bound introduced by this call ^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 32 | test_compile_ser( [INFO] [stdout] | ---------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 36 | E::A(887668751), [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | test_compile_ser(rec, "B(true)", Some(&hex!("0100000001")), E::B(true)); [INFO] [stdout] | ---------------- ^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:39:66 [INFO] [stdout] | [INFO] [stdout] 39 | test_compile_ser(rec, "B(false)", Some(&hex!("0100000000")), E::B(false)); [INFO] [stdout] | ---------------- required by a bound introduced by this call ^^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | test_compile_ser( [INFO] [stdout] | ---------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 44 | E::C(1627069767, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_tuple::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | test_compile_ser( [INFO] [stdout] | ---------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 50 | E::C(-453981819, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_tuple::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_struct::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 63 | test_compile_ser( [INFO] [stdout] | ---------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 67 | E::A { a: 42 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Recipe` is not implemented for `test_enum_struct::E` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_empty_struct::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | test_compile_ser(rec, "A { }", Some(&hex!("00000000")), E::A {}); [INFO] [stdout] | ---------------- ^^^^^^^ the trait `Recipe` is not implemented for `test_enum_empty_struct::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_empty_struct::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | test_compile_ser(rec, "B { }", Some(&hex!("01000000")), E::B {}); [INFO] [stdout] | ---------------- ^^^^^^^ the trait `Recipe` is not implemented for `test_enum_empty_struct::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_enum_empty_struct::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | test_compile_ser(rec, "C { }", Some(&hex!("02000000")), E::C {}); [INFO] [stdout] | ---------------- ^^^^^^^ the trait `Recipe` is not implemented for `test_enum_empty_struct::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_inline_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:94:57 [INFO] [stdout] | [INFO] [stdout] 94 | test_compile_ser(rec, "A", Some(&hex!("00000000")), E::A); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_inline_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_inline_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | test_compile_ser(rec, "B", Some(&hex!("01000000")), E::B); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_inline_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_inline_enum::E: Recipe` is not satisfied [INFO] [stdout] --> tests/test_enum.rs:96:57 [INFO] [stdout] | [INFO] [stdout] 96 | test_compile_ser(rec, "C", Some(&hex!("02000000")), E::C); [INFO] [stdout] | ---------------- ^^^^ the trait `Recipe` is not implemented for `test_inline_enum::E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Recipe`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 17 others [INFO] [stdout] note: required by a bound in `test_compile_ser` [INFO] [stdout] --> tests/common/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn test_compile_ser(rec: &str, dat: &str, bin: Option<&[u8]>, val: T) [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | T: Recipe + Debug + Serialize + PartialEq + for<'a> Deserialize<'a>, [INFO] [stdout] | ^^^^^^ required by this bound in `test_compile_ser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let mut child = self.get_item_mut(child_id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bakery` (test "test_enum") due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `vec_and` is never used [INFO] [stdout] --> tests/common/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_and(a: &Vec, b: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_compile_mask` is never used [INFO] [stdout] --> tests/common/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_compile_mask(rec: &str, dat: &str, expect: &[u8], mask: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_load_from_string` is never used [INFO] [stdout] --> tests/common/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_load_from_string(dat: &str, expected: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | DataNotStruct(u32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - DataNotStruct(u32), [INFO] [stdout] 55 + DataNotStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | EnumTypeIsNotInt(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - EnumTypeIsNotInt(u32), [INFO] [stdout] 56 + EnumTypeIsNotInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | EnumValueOutOfBounds(u32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - EnumValueOutOfBounds(u32), [INFO] [stdout] 57 + EnumValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_enum` and `node_name` are never read [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | EnumUndefinedName { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 59 | node_enum: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | node_name: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_nid` is never read [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | EnumUndefinedData { [INFO] [stdout] | ----------------- field in this variant [INFO] [stdout] 63 | data_nid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | ExpectedDatFloat(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - ExpectedDatFloat(u32), [INFO] [stdout] 65 + ExpectedDatFloat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectedDatInt(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - ExpectedDatInt(u32), [INFO] [stdout] 66 + ExpectedDatInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | ExpectedDatStruct(u32), [INFO] [stdout] | ----------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - ExpectedDatStruct(u32), [INFO] [stdout] 67 + ExpectedDatStruct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | ExpectedDatIdentifier(u32), [INFO] [stdout] | --------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - ExpectedDatIdentifier(u32), [INFO] [stdout] 68 + ExpectedDatIdentifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nid`, `expected`, and `current` are never read [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | GenericArgCountMismatch { [INFO] [stdout] | ----------------------- fields in this variant [INFO] [stdout] 70 | nid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | expected: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | current: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | RedefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 75 - RedefinedValue(u32), [INFO] [stdout] 75 + RedefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_tuple` and `node_data` are never read [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | TupleSizeMismatch { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 77 | node_tuple: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | node_data: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | UndefinedValue(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 - UndefinedValue(u32), [INFO] [stdout] 80 + UndefinedValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `node` are never read [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | UnresolvedType { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 82 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | node: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | ValueOutOfBounds(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 85 - ValueOutOfBounds(u32), [INFO] [stdout] 85 + ValueOutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IOError` is never constructed [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum CompilationError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | IOError(std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `start`, and `end` are never read [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 90 | source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name_or_anonymous` is never used [INFO] [stdout] --> src/lib.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn name_or_anonymous(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_path` is never used [INFO] [stdout] --> src/lib.rs:921:8 [INFO] [stdout] | [INFO] [stdout] 264 | impl NodeTree { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 921 | fn node_path(&self, id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/lib.rs:1688:4 [INFO] [stdout] | [INFO] [stdout] 1688 | fn print_errors(tree: &NodeTree, errors: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d904c5fae1c9c88368ac00d4851e6935d4e2d13299924c78c70748be5adb4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d904c5fae1c9c88368ac00d4851e6935d4e2d13299924c78c70748be5adb4d1", kill_on_drop: false }` [INFO] [stdout] 0d904c5fae1c9c88368ac00d4851e6935d4e2d13299924c78c70748be5adb4d1