[INFO] fetching crate knet 0.3.1... [INFO] testing knet-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate knet 0.3.1 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate knet 0.3.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53fd181f63894c424c72fc5a36318e29734ff3e3ddb9c0ee731b3e03d7eaf425 [INFO] running `Command { std: "docker" "start" "-a" "53fd181f63894c424c72fc5a36318e29734ff3e3ddb9c0ee731b3e03d7eaf425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53fd181f63894c424c72fc5a36318e29734ff3e3ddb9c0ee731b3e03d7eaf425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53fd181f63894c424c72fc5a36318e29734ff3e3ddb9c0ee731b3e03d7eaf425", kill_on_drop: false }` [INFO] [stdout] 53fd181f63894c424c72fc5a36318e29734ff3e3ddb9c0ee731b3e03d7eaf425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87cb59e2011f9d5cf36ed3acba10fabbc46d052eb44637c6fb3d3dacbadf4f46 [INFO] running `Command { std: "docker" "start" "-a" "87cb59e2011f9d5cf36ed3acba10fabbc46d052eb44637c6fb3d3dacbadf4f46", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling derive-knet v0.1.0 [INFO] [stderr] Compiling simple_logger v1.16.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.70s [INFO] running `Command { std: "docker" "inspect" "87cb59e2011f9d5cf36ed3acba10fabbc46d052eb44637c6fb3d3dacbadf4f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87cb59e2011f9d5cf36ed3acba10fabbc46d052eb44637c6fb3d3dacbadf4f46", kill_on_drop: false }` [INFO] [stdout] 87cb59e2011f9d5cf36ed3acba10fabbc46d052eb44637c6fb3d3dacbadf4f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba28b4f04370017367b192d62eed9fc70f2dcf7c18cd22aefcf9a288a0c2f1d2 [INFO] running `Command { std: "docker" "start" "-a" "ba28b4f04370017367b192d62eed9fc70f2dcf7c18cd22aefcf9a288a0c2f1d2", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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::network::trait_knet::KnetTransform; [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1044: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1044: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1044: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1044: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] 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)]` (part of `#[warn(unused)]`) on by default [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 `test_knet::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(&raw), data); [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 `test_knet::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(&raw), data); [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 `test_knet::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_raw(&[66, 121, 116, 101, 0, 0, 0, 0, 0, 42].to_vec()); [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ba28b4f04370017367b192d62eed9fc70f2dcf7c18cd22aefcf9a288a0c2f1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba28b4f04370017367b192d62eed9fc70f2dcf7c18cd22aefcf9a288a0c2f1d2", kill_on_drop: false }` [INFO] [stdout] ba28b4f04370017367b192d62eed9fc70f2dcf7c18cd22aefcf9a288a0c2f1d2