[INFO] fetching crate wire 0.0.12... [INFO] testing wire-0.0.12 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wire 0.0.12 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wire 0.0.12 [INFO] finished tweaking crates.io crate wire 0.0.12 [INFO] tweaked toml for crates.io crate wire 0.0.12 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wire 0.0.12 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.5.9 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unreliable-message v0.1.0 [INFO] [stderr] Downloaded vec_map v0.0.1 [INFO] [stderr] Downloaded bchannel v0.0.10 [INFO] [stderr] Downloaded bincode v0.5.9 [INFO] [stderr] Downloaded serde v0.7.15 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b7909671f2ffb2730bbc57837ec9393a9893480ea5e072e6a2943de3ffb985c [INFO] running `Command { std: "docker" "start" "-a" "4b7909671f2ffb2730bbc57837ec9393a9893480ea5e072e6a2943de3ffb985c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b7909671f2ffb2730bbc57837ec9393a9893480ea5e072e6a2943de3ffb985c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b7909671f2ffb2730bbc57837ec9393a9893480ea5e072e6a2943de3ffb985c", kill_on_drop: false }` [INFO] [stdout] 4b7909671f2ffb2730bbc57837ec9393a9893480ea5e072e6a2943de3ffb985c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d131066df41e2cbfaadd57ade7211e142d291c86168e591ea4d785aa3c9fa8 [INFO] running `Command { std: "docker" "start" "-a" "14d131066df41e2cbfaadd57ade7211e142d291c86168e591ea4d785aa3c9fa8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling vec_map v0.0.1 [INFO] [stderr] Compiling bchannel v0.0.10 [INFO] [stderr] Compiling bincode v0.5.9 [INFO] [stderr] Compiling unreliable-message v0.1.0 [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `msgqueue::MsgChunk: Decodable` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/network.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | let chunk: MsgChunk = try!(bincode::rustc_serialize::decode(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `msgqueue::MsgChunk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MsgChunk(pub MsgId, pub PieceNum, pub Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 74 others [INFO] [stdout] note: required by a bound in `bincode::rustc_serialize::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-0.5.9/src/rustc_serialize/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn decode(b: &[u8]) -> DecodingResult { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `msgqueue::MsgChunk: Encodable` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/network.rs:163:63 [INFO] [stdout] | [INFO] [stdout] 163 | let bytes = try!(bincode::rustc_serialize::encode(&next, bound)); [INFO] [stdout] | -------------------------------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `msgqueue::MsgChunk` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unreliable-message-0.1.0/src/msgqueue.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MsgChunk(pub MsgId, pub PieceNum, pub Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] note: required by a bound in `bincode::rustc_serialize::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-0.5.9/src/rustc_serialize/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn encode(t: &T, size_limit: SizeLimit) -> EncodingResult> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unreliable-message` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "14d131066df41e2cbfaadd57ade7211e142d291c86168e591ea4d785aa3c9fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d131066df41e2cbfaadd57ade7211e142d291c86168e591ea4d785aa3c9fa8", kill_on_drop: false }` [INFO] [stdout] 14d131066df41e2cbfaadd57ade7211e142d291c86168e591ea4d785aa3c9fa8