[INFO] fetching crate knet 0.3.1... [INFO] checking knet-0.3.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate knet 0.3.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate knet 0.3.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding derive-knet v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding simple_logger v1.16.0 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] [stderr] Downloaded derive-knet v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88404753558cfde0b6c26985816aac8cf78f0553654ab2efac4c385a372f01bb [INFO] running `Command { std: "docker" "start" "-a" "88404753558cfde0b6c26985816aac8cf78f0553654ab2efac4c385a372f01bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88404753558cfde0b6c26985816aac8cf78f0553654ab2efac4c385a372f01bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88404753558cfde0b6c26985816aac8cf78f0553654ab2efac4c385a372f01bb", kill_on_drop: false }` [INFO] [stdout] 88404753558cfde0b6c26985816aac8cf78f0553654ab2efac4c385a372f01bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca2c900b1d454e5024cbc5184ae960f3dfb207b14dff537d54826563891e29e8 [INFO] running `Command { std: "docker" "start" "-a" "ca2c900b1d454e5024cbc5184ae960f3dfb207b14dff537d54826563891e29e8", kill_on_drop: false }` [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Compiling derive-knet v0.1.0 [INFO] [stderr] Checking knet v0.3.1 (/opt/rustwide/workdir) [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` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:1060: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` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:1060: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` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:1060: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` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found struct `Box` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:1060: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; [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; [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; [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; [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; [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; [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; [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; [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; [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; [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] 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 19 previous errors [INFO] running `Command { std: "docker" "inspect" "ca2c900b1d454e5024cbc5184ae960f3dfb207b14dff537d54826563891e29e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2c900b1d454e5024cbc5184ae960f3dfb207b14dff537d54826563891e29e8", kill_on_drop: false }` [INFO] [stdout] ca2c900b1d454e5024cbc5184ae960f3dfb207b14dff537d54826563891e29e8