[INFO] fetching crate knet 0.3.1...
[INFO] checking knet-0.3.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate knet 0.3.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate knet 0.3.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate knet 0.3.1
[INFO] finished tweaking crates.io crate knet 0.3.1
[INFO] tweaked toml for crates.io crate knet 0.3.1 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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive-knet v0.1.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad00eb5b6de95e3a46a2e17dfe6d267dbabfa43330785eb2f93056e1db61bd8c
[INFO] running `Command { std: "docker" "start" "-a" "ad00eb5b6de95e3a46a2e17dfe6d267dbabfa43330785eb2f93056e1db61bd8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad00eb5b6de95e3a46a2e17dfe6d267dbabfa43330785eb2f93056e1db61bd8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad00eb5b6de95e3a46a2e17dfe6d267dbabfa43330785eb2f93056e1db61bd8c", kill_on_drop: false }`
[INFO] [stdout] ad00eb5b6de95e3a46a2e17dfe6d267dbabfa43330785eb2f93056e1db61bd8c
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 688148eabe7bcf9d44ea7c16a83704ee986f5a12367803216fa9ba56b83d6954
[INFO] running `Command { std: "docker" "start" "-a" "688148eabe7bcf9d44ea7c16a83704ee986f5a12367803216fa9ba56b83d6954", kill_on_drop: false }`
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking value-bag v1.8.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking futures-lite v2.3.0
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.1
[INFO] [stderr]     Checking colored v1.9.4
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking async-executor v1.9.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking simple_logger v1.16.0
[INFO] [stderr]    Compiling derive-knet v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking polling v3.6.0
[INFO] [stderr]     Checking async-io v2.3.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking knet v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/network/server.rs:244:50
[INFO] [stdout]     |
[INFO] [stdout] 244 |                         if let InnerEvent::Data((id, data)) = msg {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/network/server.rs:244:50
[INFO] [stdout]     |
[INFO] [stdout] 244 |                         if let InnerEvent::Data((id, data)) = msg {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `network` is private
[INFO] [stdout]   --> tests/tests.rs:4:15
[INFO] [stdout]    |
[INFO] [stdout] 4  |     use knet::network::trait_knet::KnetTransform;
[INFO] [stdout]    |               ^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `network` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | mod network;
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]    |
[INFO] [stdout] 4  |     use knet::KnetTransform;
[INFO] [stdout]    |         ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `test_knet::Data: Copy` is not satisfied
[INFO] [stdout]   --> tests/tests.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |          ^^^^ the trait `Copy` is not implemented for `test_knet::Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `KnetTransform`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:2:26
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub trait KnetTransform: Copy + Sized {
[INFO] [stdout]    |                          ^^^^ required by this bound in `KnetTransform`
[INFO] [stdout] help: consider annotating `test_knet::Data` with `#[derive(Copy)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 +     #[derive(Copy)]
[INFO] [stdout] 14 |     enum Data {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<u8>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<u8>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<i32>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<i32>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<char>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<char>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<Foo>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<Foo>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |         let raw = data.serialize();
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |         assert_eq!(Data::from_raw(&raw), data);
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 24 |         assert_eq!(Data::from(&raw), data);
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |         let raw = data.serialize();
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |         assert_eq!(Data::from_raw(&raw), data);
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_eq!(Data::from(&raw), data);
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:41:46
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |         let integer_serialize = data_integer.serialize();
[INFO] [stdout]    |                                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deserialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `deserialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |         data_char.deserialize(&integer_serialize);
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |        ----------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `serialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `deserialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:53:65
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |         assert_eq!([66, 121, 116, 101, 0, 0, 0, 0, 0, 8], data8.serialize()[..]);
[INFO] [stdout]    |                                                                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |             data16.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 60 |             data32.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:69:65
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |         assert_eq!([66, 121, 116, 101, 0, 0, 0, 0, 0, 8], data8.serialize()[..]);
[INFO] [stdout]    |                                                                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 72 |             data16.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 |             data32.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 82 |         let data = Data::from_raw(&[66, 121, 116, 101, 0, 0, 0, 0, 0, 42].to_vec());
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let data = Data::from(&[66, 121, 116, 101, 0, 0, 0, 0, 0, 42].to_vec());
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `knet` (test "tests") due to 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "688148eabe7bcf9d44ea7c16a83704ee986f5a12367803216fa9ba56b83d6954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "688148eabe7bcf9d44ea7c16a83704ee986f5a12367803216fa9ba56b83d6954", kill_on_drop: false }`
[INFO] [stdout] 688148eabe7bcf9d44ea7c16a83704ee986f5a12367803216fa9ba56b83d6954
[INFO] checking knet-0.3.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate knet 0.3.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate knet 0.3.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate knet 0.3.1
[INFO] finished tweaking crates.io crate knet 0.3.1
[INFO] tweaked toml for crates.io crate knet 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9da531bc8ceae70ad71449e36a2b7fb66ea7af1f88b66c2ab4463965f2c1fefc
[INFO] running `Command { std: "docker" "start" "-a" "9da531bc8ceae70ad71449e36a2b7fb66ea7af1f88b66c2ab4463965f2c1fefc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9da531bc8ceae70ad71449e36a2b7fb66ea7af1f88b66c2ab4463965f2c1fefc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9da531bc8ceae70ad71449e36a2b7fb66ea7af1f88b66c2ab4463965f2c1fefc", kill_on_drop: false }`
[INFO] [stdout] 9da531bc8ceae70ad71449e36a2b7fb66ea7af1f88b66c2ab4463965f2c1fefc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1da108716db12157d40830af2b6ffce1d99f72e06c7bb63dc11ca8c3ac1d5c19
[INFO] running `Command { std: "docker" "start" "-a" "1da108716db12157d40830af2b6ffce1d99f72e06c7bb63dc11ca8c3ac1d5c19", kill_on_drop: false }`
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking value-bag v1.8.1
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking futures-lite v2.3.0
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.1
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking colored v1.9.4
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking async-executor v1.9.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking simple_logger v1.16.0
[INFO] [stderr]    Compiling derive-knet v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking polling v3.6.0
[INFO] [stderr]     Checking async-io v2.3.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking knet v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/network/server.rs:244:50
[INFO] [stdout]     |
[INFO] [stdout] 244 |                         if let InnerEvent::Data((id, data)) = msg {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/network/server.rs:244:50
[INFO] [stdout]     |
[INFO] [stdout] 244 |                         if let InnerEvent::Data((id, data)) = msg {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `network` is private
[INFO] [stdout]   --> tests/tests.rs:4:15
[INFO] [stdout]    |
[INFO] [stdout] 4  |     use knet::network::trait_knet::KnetTransform;
[INFO] [stdout]    |               ^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `network` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | mod network;
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]    |
[INFO] [stdout] 4  |     use knet::KnetTransform;
[INFO] [stdout]    |         ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `test_knet::Data: Copy` is not satisfied
[INFO] [stdout]   --> tests/tests.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |          ^^^^ the trait `Copy` is not implemented for `test_knet::Data`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `KnetTransform`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:2:26
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub trait KnetTransform: Copy + Sized {
[INFO] [stdout]    |                          ^^^^ required by this bound in `KnetTransform`
[INFO] [stdout] help: consider annotating `test_knet::Data` with `#[derive(Copy)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 +     #[derive(Copy)]
[INFO] [stdout] 14 |     enum Data {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<u8>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<u8>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<i32>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<i32>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<char>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<char>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/tests.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(DeriveKnet, Debug, PartialEq)]
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `*mut _`, found `Box<Foo>`
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut _`
[INFO] [stdout]                    found struct `Box<Foo>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/alloc/src/boxed.rs:952:19
[INFO] [stdout]    = note: this error originates in the derive macro `DeriveKnet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |         let raw = data.serialize();
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |         assert_eq!(Data::from_raw(&raw), data);
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 24 |         assert_eq!(Data::from(&raw), data);
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |         let raw = data.serialize();
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |         assert_eq!(Data::from_raw(&raw), data);
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_eq!(Data::from(&raw), data);
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:41:46
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |         let integer_serialize = data_integer.serialize();
[INFO] [stdout]    |                                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deserialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `deserialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |         data_char.deserialize(&integer_serialize);
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |        ----------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `serialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `deserialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:53:65
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |         assert_eq!([66, 121, 116, 101, 0, 0, 0, 0, 0, 8], data8.serialize()[..]);
[INFO] [stdout]    |                                                                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |             data16.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 60 |             data32.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:69:65
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |         assert_eq!([66, 121, 116, 101, 0, 0, 0, 0, 0, 8], data8.serialize()[..]);
[INFO] [stdout]    |                                                                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:72:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 72 |             data16.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- method `serialize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 |             data32.serialize()[..]
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/network/trait_knet.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 4  |     fn serialize(&self) -> ::std::vec::Vec<u8>;
[INFO] [stdout]    |        --------- the method is available for `test_knet::Data` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `deserialize` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/network/trait_knet.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn deserialize(&mut self, _: &[u8]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KnetTransform` which provides `serialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_raw` found for enum `test_knet::Data` in the current scope
[INFO] [stdout]   --> tests/tests.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     enum Data {
[INFO] [stdout]    |     --------- variant or associated item `from_raw` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 82 |         let data = Data::from_raw(&[66, 121, 116, 101, 0, 0, 0, 0, 0, 42].to_vec());
[INFO] [stdout]    |                          ^^^^^^^^ variant or associated item not found in `Data`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KnetTransform` which provides `from_raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use knet::KnetTransform;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let data = Data::from(&[66, 121, 116, 101, 0, 0, 0, 0, 0, 42].to_vec());
[INFO] [stdout]    |                          ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `knet` (test "tests") due to 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "1da108716db12157d40830af2b6ffce1d99f72e06c7bb63dc11ca8c3ac1d5c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1da108716db12157d40830af2b6ffce1d99f72e06c7bb63dc11ca8c3ac1d5c19", kill_on_drop: false }`
[INFO] [stdout] 1da108716db12157d40830af2b6ffce1d99f72e06c7bb63dc11ca8c3ac1d5c19
