[INFO] fetching crate ukhasnet-parser 0.4.0... [INFO] building ukhasnet-parser-0.4.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ukhasnet-parser 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ukhasnet-parser 0.4.0 [INFO] finished tweaking crates.io crate ukhasnet-parser 0.4.0 [INFO] tweaked toml for crates.io crate ukhasnet-parser 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ukhasnet-parser 0.4.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding pest v0.4.1 (available: v2.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v0.4.1 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ded6034a9d16e4714c4501e1ee995ca3ee791521be87484bed0fd57b35a5e70 [INFO] running `Command { std: "docker" "start" "-a" "0ded6034a9d16e4714c4501e1ee995ca3ee791521be87484bed0fd57b35a5e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ded6034a9d16e4714c4501e1ee995ca3ee791521be87484bed0fd57b35a5e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ded6034a9d16e4714c4501e1ee995ca3ee791521be87484bed0fd57b35a5e70", kill_on_drop: false }` [INFO] [stdout] 0ded6034a9d16e4714c4501e1ee995ca3ee791521be87484bed0fd57b35a5e70 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af00feb6e61fcbfc9663d1b8dd1e6052ef9d45442a30420566f851135113319 [INFO] running `Command { std: "docker" "start" "-a" "3af00feb6e61fcbfc9663d1b8dd1e6052ef9d45442a30420566f851135113319", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pest v0.4.1 [INFO] [stderr] Compiling ukhasnet-parser v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "3af00feb6e61fcbfc9663d1b8dd1e6052ef9d45442a30420566f851135113319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af00feb6e61fcbfc9663d1b8dd1e6052ef9d45442a30420566f851135113319", kill_on_drop: false }` [INFO] [stdout] 3af00feb6e61fcbfc9663d1b8dd1e6052ef9d45442a30420566f851135113319 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46e1561d0aab436c6f7e038946bedc54d6b6ea6669f47e444bf2299eda851102 [INFO] running `Command { std: "docker" "start" "-a" "46e1561d0aab436c6f7e038946bedc54d6b6ea6669f47e444bf2299eda851102", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ukhasnet-parser v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> examples/socket_stream.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SocketMessage: Decodable` is not satisfied [INFO] [stdout] --> examples/socket_stream.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | let message = match json::decode::(&jsonstr) { [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `SocketMessage` [INFO] [stdout] --> examples/socket_stream.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct SocketMessage { [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 71 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn decode(s: &str) -> DecodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ukhasnet-parser` (example "socket_stream") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused logical operation that must be used [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl_rdp! { [INFO] [stdout] 7 | | /* [INFO] [stdout] 8 | | * UKHASnet Packet Grammar [INFO] [stdout] 9 | | * [INFO] [stdout] ... | [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ the logical operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `grammar` which comes from the expansion of the macro `impl_rdp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46e1561d0aab436c6f7e038946bedc54d6b6ea6669f47e444bf2299eda851102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e1561d0aab436c6f7e038946bedc54d6b6ea6669f47e444bf2299eda851102", kill_on_drop: false }` [INFO] [stdout] 46e1561d0aab436c6f7e038946bedc54d6b6ea6669f47e444bf2299eda851102