[INFO] fetching crate grubbnet 0.1.3... [INFO] checking grubbnet-0.1.3 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate grubbnet 0.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate grubbnet 0.1.3 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grubbnet 0.1.3 [INFO] finished tweaking crates.io crate grubbnet 0.1.3 [INFO] tweaked toml for crates.io crate grubbnet 0.1.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate grubbnet 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c412ed374b83967c9e8e9dbf15937267b8c5f01fa53149d38dd4108844cdca1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c412ed374b83967c9e8e9dbf15937267b8c5f01fa53149d38dd4108844cdca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c412ed374b83967c9e8e9dbf15937267b8c5f01fa53149d38dd4108844cdca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c412ed374b83967c9e8e9dbf15937267b8c5f01fa53149d38dd4108844cdca1", kill_on_drop: false }` [INFO] [stdout] 6c412ed374b83967c9e8e9dbf15937267b8c5f01fa53149d38dd4108844cdca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1deff0c756f272aaa65791f8a08a26977b863fa233b2092cd1a1924507b42b2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1deff0c756f272aaa65791f8a08a26977b863fa233b2092cd1a1924507b42b2b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Checking grubbnet v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_server.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `Vec` [INFO] [stdout] | help: change the output type to match the trait: `Result, grubbnet::Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&PingPacket) -> Result, grubbnet::Error>` [INFO] [stdout] found fn pointer `fn(&PingPacket) -> Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `deserialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_server.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | fn deserialize(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `PingPacket` [INFO] [stdout] | help: change the output type to match the trait: `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&[u8]) -> Result` [INFO] [stdout] found fn pointer `fn(&[u8]) -> PingPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_server.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `Vec` [INFO] [stdout] | help: change the output type to match the trait: `Result, grubbnet::Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&PongPacket) -> Result, grubbnet::Error>` [INFO] [stdout] found fn pointer `fn(&PongPacket) -> Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `deserialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_server.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn deserialize(_data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `PongPacket` [INFO] [stdout] | help: change the output type to match the trait: `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&[u8]) -> Result` [INFO] [stdout] found fn pointer `fn(&[u8]) -> PongPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_client.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `Vec` [INFO] [stdout] | help: change the output type to match the trait: `Result, grubbnet::Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&PingPacket) -> Result, grubbnet::Error>` [INFO] [stdout] found fn pointer `fn(&PingPacket) -> Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `deserialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_client.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | fn deserialize(_data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `PingPacket` [INFO] [stdout] | help: change the output type to match the trait: `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&[u8]) -> Result` [INFO] [stdout] found fn pointer `fn(&[u8]) -> PingPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_client.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `Vec` [INFO] [stdout] | help: change the output type to match the trait: `Result, grubbnet::Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&PongPacket) -> Result, grubbnet::Error>` [INFO] [stdout] found fn pointer `fn(&PongPacket) -> Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `deserialize` has an incompatible type for trait [INFO] [stdout] --> examples/simple_client.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | fn deserialize(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `PongPacket` [INFO] [stdout] | help: change the output type to match the trait: `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&[u8]) -> Result` [INFO] [stdout] found fn pointer `fn(&[u8]) -> PongPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `msg` on type `Result` [INFO] [stdout] --> examples/simple_server.rs:112:77 [INFO] [stdout] | [INFO] [stdout] 112 | println!("Got ping from client {}: {}", token.0, packet.msg); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/simple_server.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 69 | / loop { [INFO] [stdout] 70 | | // Sleep for a lil bit so we don't hog the CPU [INFO] [stdout] 71 | | std::thread::sleep(std::time::Duration::from_millis(100)); [INFO] [stdout] 72 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 134 | [INFO] [stdout] 135 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `msg` on type `Result` [INFO] [stdout] --> examples/simple_client.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | println!("Got pong: {}", packet.msg); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grubbnet` [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0053, E0609. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1deff0c756f272aaa65791f8a08a26977b863fa233b2092cd1a1924507b42b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1deff0c756f272aaa65791f8a08a26977b863fa233b2092cd1a1924507b42b2b", kill_on_drop: false }` [INFO] [stdout] 1deff0c756f272aaa65791f8a08a26977b863fa233b2092cd1a1924507b42b2b