[INFO] fetching crate bakery 0.1.3... [INFO] checking bakery-0.1.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bakery 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate bakery 0.1.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v0.4.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bakery-derive v0.1.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebb4513123a29162ba15a4e28abbe066dc2ba547ed01feb73c7d87e2944beaa3 [INFO] running `Command { std: "docker" "start" "-a" "ebb4513123a29162ba15a4e28abbe066dc2ba547ed01feb73c7d87e2944beaa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebb4513123a29162ba15a4e28abbe066dc2ba547ed01feb73c7d87e2944beaa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb4513123a29162ba15a4e28abbe066dc2ba547ed01feb73c7d87e2944beaa3", kill_on_drop: false }` [INFO] [stdout] ebb4513123a29162ba15a4e28abbe066dc2ba547ed01feb73c7d87e2944beaa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c1fafc478450febba7c805ac6cf1eef0e51418c67224b81fbe04437c1ab1d83 [INFO] running `Command { std: "docker" "start" "-a" "9c1fafc478450febba7c805ac6cf1eef0e51418c67224b81fbe04437c1ab1d83", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling bakery-derive v0.1.0 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking 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: 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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] 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [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 `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] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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 `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: 2 warnings emitted [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: 3 warnings emitted [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] warning: 3 warnings emitted [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: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bakery` (test "test_enum") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c1fafc478450febba7c805ac6cf1eef0e51418c67224b81fbe04437c1ab1d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1fafc478450febba7c805ac6cf1eef0e51418c67224b81fbe04437c1ab1d83", kill_on_drop: false }` [INFO] [stdout] 9c1fafc478450febba7c805ac6cf1eef0e51418c67224b81fbe04437c1ab1d83