[INFO] fetching crate net-socket-packet 0.1.0...
[INFO] checking net-socket-packet-0.1.0 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] extracting crate net-socket-packet 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate net-socket-packet 0.1.0
[INFO] finished tweaking crates.io crate net-socket-packet 0.1.0
[INFO] tweaked toml for crates.io crate net-socket-packet 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate net-socket-packet 0.1.0 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 52 packages to latest compatible versions
[INFO] [stderr]       Adding num-derive v0.2.5 (available: v0.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 02dd85a2bb8c1c4cfc994e6be92a9932f4576b67bb5ae0c91cc45e48a00dfb3b
[INFO] running `Command { std: "docker" "start" "-a" "02dd85a2bb8c1c4cfc994e6be92a9932f4576b67bb5ae0c91cc45e48a00dfb3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02dd85a2bb8c1c4cfc994e6be92a9932f4576b67bb5ae0c91cc45e48a00dfb3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02dd85a2bb8c1c4cfc994e6be92a9932f4576b67bb5ae0c91cc45e48a00dfb3b", kill_on_drop: false }`
[INFO] [stdout] 02dd85a2bb8c1c4cfc994e6be92a9932f4576b67bb5ae0c91cc45e48a00dfb3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7218a8731f9f6cc7d888f865f5fdd9b7acfc9e3678f079d2757877282b05ce13
[INFO] running `Command { std: "docker" "start" "-a" "7218a8731f9f6cc7d888f865f5fdd9b7acfc9e3678f079d2757877282b05ce13", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling wasm-bindgen v0.2.122
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking mac v0.0.2
[INFO] [stderr]     Checking buffer v0.1.9
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking slice-deque v0.2.4
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.122
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.122
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking js-sys v0.3.99
[INFO] [stderr]     Checking web-sys v0.3.99
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.72
[INFO] [stderr]     Checking net-socket-packet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/packet/packet.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::packet::Packet`
[INFO] [stdout]  --> src/packet/packethandler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::packet::Packet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/packet/packet.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::packet::Packet`
[INFO] [stdout]  --> src/packet/packethandler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::packet::Packet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `head_len` is never read
[INFO] [stdout]   --> src/packet/packet.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Packet {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     head_len :usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PBTrait` is never used
[INFO] [stdout]   --> src/packet/pbpacket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait PBTrait {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PacketHandler` is never constructed
[INFO] [stdout]   --> src/packet/packethandler.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PacketHandler{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/packet/packet.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketHeaderKey`
[INFO] [stdout] 19 | pub enum PacketHeaderKey {
[INFO] [stdout]    |          --------------- `PacketHeaderKey` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mkHead` should have a snake case name
[INFO] [stdout]    --> src/packet/packet.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn mkHead(&mut self){
[INFO] [stdout]     |        ^^^^^^ help: convert the identifier to snake case: `mk_head`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/packet/packethandler.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             call_back.call1(&JsValue::NULL,&JsValue::from(data));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let _ = call_back.call1(&JsValue::NULL,&JsValue::from(data));
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `net-socket-packet` (lib) due to 1 previous error; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `head_len` is never read
[INFO] [stdout]   --> src/packet/packet.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Packet {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     head_len :usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PBTrait` is never used
[INFO] [stdout]   --> src/packet/pbpacket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait PBTrait {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PacketHandler` is never constructed
[INFO] [stdout]   --> src/packet/packethandler.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PacketHandler{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/packet/packet.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketHeaderKey`
[INFO] [stdout] 19 | pub enum PacketHeaderKey {
[INFO] [stdout]    |          --------------- `PacketHeaderKey` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mkHead` should have a snake case name
[INFO] [stdout]    --> src/packet/packet.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn mkHead(&mut self){
[INFO] [stdout]     |        ^^^^^^ help: convert the identifier to snake case: `mk_head`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/packet/packethandler.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             call_back.call1(&JsValue::NULL,&JsValue::from(data));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let _ = call_back.call1(&JsValue::NULL,&JsValue::from(data));
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `net-socket-packet` (lib test) due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7218a8731f9f6cc7d888f865f5fdd9b7acfc9e3678f079d2757877282b05ce13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7218a8731f9f6cc7d888f865f5fdd9b7acfc9e3678f079d2757877282b05ce13", kill_on_drop: false }`
[INFO] [stdout] 7218a8731f9f6cc7d888f865f5fdd9b7acfc9e3678f079d2757877282b05ce13
