[INFO] cloning repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willemolding/serde-bin-prot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemolding%2Fserde-bin-prot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemolding%2Fserde-bin-prot'... [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/willemolding/serde-bin-prot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38e886e8f0b8faae81b06735ba9be0fb4627018f [INFO] checking willemolding/serde-bin-prot against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemolding%2Fserde-bin-prot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willemolding/serde-bin-prot on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willemolding/serde-bin-prot [INFO] finished tweaking git repo https://github.com/willemolding/serde-bin-prot [INFO] tweaked toml for git repo https://github.com/willemolding/serde-bin-prot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/willemolding/serde-bin-prot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stacker v0.1.14 [INFO] [stderr] Downloaded psm v0.1.14 [INFO] [stderr] Downloaded serde_stacker v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3cc98e99dd2c896974360b39e1fabb859f05a6fe68d90ce565c07bbea48e0a0 [INFO] running `Command { std: "docker" "start" "-a" "e3cc98e99dd2c896974360b39e1fabb859f05a6fe68d90ce565c07bbea48e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3cc98e99dd2c896974360b39e1fabb859f05a6fe68d90ce565c07bbea48e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cc98e99dd2c896974360b39e1fabb859f05a6fe68d90ce565c07bbea48e0a0", kill_on_drop: false }` [INFO] [stdout] e3cc98e99dd2c896974360b39e1fabb859f05a6fe68d90ce565c07bbea48e0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff063d20218fe1cccf20b2979c7f6d4a0bbfa0dfe3ca2ead81b3d3c2429840d6 [INFO] running `Command { std: "docker" "start" "-a" "ff063d20218fe1cccf20b2979c7f6d4a0bbfa0dfe3ca2ead81b3d3c2429840d6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling psm v0.1.14 [INFO] [stderr] Compiling stacker v0.1.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking serde_stacker v0.1.4 [INFO] [stderr] Checking serde-bin-prot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `key_rule` and `value_rule` are never read [INFO] [stdout] --> src/value/layout/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct HashTblEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 148 | key_rule: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | value_rule: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `HashTblEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `polyvar_name` and `hash` are never read [INFO] [stdout] --> src/value/layout/mod.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct TaggedPolyvar { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 161 | polyvar_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 162 | hash: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaggedPolyvar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `layout_id` are never read [INFO] [stdout] --> src/value/layout/mod.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct UnresolvedPayload { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 191 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 192 | layout_id: String, // what is longident? [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnresolvedPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_type_decl` and `bin_io_derived` are never read [INFO] [stdout] --> src/value/layout/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ResolvedPayload { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 197 | source_type_decl: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | bin_io_derived: bool, // This is present only in later versions of the type layouts. Probably don't trust its value [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_rule` and `value_rule` are never read [INFO] [stdout] --> src/value/layout/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct HashTblEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 148 | key_rule: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | value_rule: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `HashTblEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `polyvar_name` and `hash` are never read [INFO] [stdout] --> src/value/layout/mod.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct TaggedPolyvar { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 161 | polyvar_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 162 | hash: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaggedPolyvar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `layout_id` are never read [INFO] [stdout] --> src/value/layout/mod.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct UnresolvedPayload { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 191 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 192 | layout_id: String, // what is longident? [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnresolvedPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_type_decl` and `bin_io_derived` are never read [INFO] [stdout] --> src/value/layout/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ResolvedPayload { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 197 | source_type_decl: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | bin_io_derived: bool, // This is present only in later versions of the type layouts. Probably don't trust its value [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolvedPayload` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> tests/common.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> tests/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> tests/common.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> tests/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> tests/common.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> tests/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_byte_array` is never used [INFO] [stdout] --> tests/common.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn print_byte_array(w: &mut W, bytes: &[u8], max_len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> tests/common.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> tests/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_byte_array` is never used [INFO] [stdout] --> tests/common.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn print_byte_array(w: &mut W, bytes: &[u8], max_len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roundtrip_test` is never used [INFO] [stdout] --> tests/common.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn roundtrip_test<'a, T: Serialize + Deserialize<'a> + PartialEq + Debug>(val: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> tests/common.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> tests/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_byte_array` is never used [INFO] [stdout] --> tests/common.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn print_byte_array(w: &mut W, bytes: &[u8], max_len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/layouts.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | Value::Record(vec![("inner".to_string(), Value::Bool(true))]) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashMap`, found struct `std::vec::Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `std::vec::Vec<(std::string::String, serde_bin_prot::value::Value)>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Record(HashMap), // records/structs [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/layouts.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | Value::Record(vec![ [INFO] [stdout] | _________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 58 | | ("first".to_string(), Value::Int(0)), [INFO] [stdout] 59 | | ( [INFO] [stdout] 60 | | "second".to_string(), [INFO] [stdout] 61 | | Value::Record(vec![("inner".to_string(), Value::Bool(true))]) [INFO] [stdout] 62 | | ) [INFO] [stdout] 63 | | ]) [INFO] [stdout] | |_________^ expected struct `HashMap`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `std::vec::Vec<(std::string::String, serde_bin_prot::value::Value)>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Record(HashMap), // records/structs [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/layouts.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | value: Box::new(Value::Record(vec![("first".to_string(), Value::Int(5))])) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashMap`, found struct `std::vec::Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `std::vec::Vec<(std::string::String, serde_bin_prot::value::Value)>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Record(HashMap), // records/structs [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde-bin-prot` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ff063d20218fe1cccf20b2979c7f6d4a0bbfa0dfe3ca2ead81b3d3c2429840d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff063d20218fe1cccf20b2979c7f6d4a0bbfa0dfe3ca2ead81b3d3c2429840d6", kill_on_drop: false }` [INFO] [stdout] ff063d20218fe1cccf20b2979c7f6d4a0bbfa0dfe3ca2ead81b3d3c2429840d6