[INFO] fetching crate unreliable-message 0.1.0... [INFO] testing unreliable-message-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate unreliable-message 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate unreliable-message 0.1.0 [INFO] finished tweaking crates.io crate unreliable-message 0.1.0 [INFO] tweaked toml for crates.io crate unreliable-message 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unreliable-message 0.1.0 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 8 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.5.9 (available: v2.0.1) [INFO] [stderr] Adding vec_map v0.0.1 (available: v0.8.2) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v0.7.15 [INFO] [stderr] Downloaded vec_map v0.0.1 [INFO] [stderr] Downloaded bincode v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 18adacdeed503827ea1f1f0729b500394e9689acea15bd4a20392d5440a949aa [INFO] running `Command { std: "docker" "start" "-a" "18adacdeed503827ea1f1f0729b500394e9689acea15bd4a20392d5440a949aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18adacdeed503827ea1f1f0729b500394e9689acea15bd4a20392d5440a949aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18adacdeed503827ea1f1f0729b500394e9689acea15bd4a20392d5440a949aa", kill_on_drop: false }` [INFO] [stdout] 18adacdeed503827ea1f1f0729b500394e9689acea15bd4a20392d5440a949aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2799d01b487161f4dd3f75dc16fccb812dc65083646f0d6401d60104cbf09403 [INFO] running `Command { std: "docker" "start" "-a" "2799d01b487161f4dd3f75dc16fccb812dc65083646f0d6401d60104cbf09403", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling vec_map v0.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bincode v0.5.9 [INFO] [stderr] Compiling unreliable-message v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> src/msgqueue.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let iter = try!(socket_addrs.to_socket_addrs()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | let (amnt, from) = try!(self.socket.recv_from(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let chunk: MsgChunk = try!(bincode::rustc_serialize::decode(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | let addrs = try!(AddrsContainer::from_to_sock(addrs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | try!(self.socket.send_to(&bytes[..], addrs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let bytes = try!(bincode::rustc_serialize::encode(&next, bound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | while try!(self.send_one()) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `msgqueue::MsgChunk: Decodable` is not satisfied [INFO] [stdout] --> 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] --> 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] --> 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] --> 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; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2799d01b487161f4dd3f75dc16fccb812dc65083646f0d6401d60104cbf09403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2799d01b487161f4dd3f75dc16fccb812dc65083646f0d6401d60104cbf09403", kill_on_drop: false }` [INFO] [stdout] 2799d01b487161f4dd3f75dc16fccb812dc65083646f0d6401d60104cbf09403