[INFO] cloning repository https://github.com/ubsan/z80 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ubsan/z80" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubsan%2Fz80", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubsan%2Fz80'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6feaeac2aaae11e9353caf6688cc993cd3568fee [INFO] building ubsan/z80 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubsan%2Fz80" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ubsan/z80 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ubsan/z80 [INFO] finished tweaking git repo https://github.com/ubsan/z80 [INFO] tweaked toml for git repo https://github.com/ubsan/z80 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ubsan/z80 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f45eef47dbc2bbb44b3449cfcb1b5fc80c9d592a336f0c95d552503b1d16d5 [INFO] running `Command { std: "docker" "start" "-a" "06f45eef47dbc2bbb44b3449cfcb1b5fc80c9d592a336f0c95d552503b1d16d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f45eef47dbc2bbb44b3449cfcb1b5fc80c9d592a336f0c95d552503b1d16d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f45eef47dbc2bbb44b3449cfcb1b5fc80c9d592a336f0c95d552503b1d16d5", kill_on_drop: false }` [INFO] [stdout] 06f45eef47dbc2bbb44b3449cfcb1b5fc80c9d592a336f0c95d552503b1d16d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e111ae286b5fa23fb037924c63d8489789b0f517ba02ab7fb868534c22cc440 [INFO] running `Command { std: "docker" "start" "-a" "4e111ae286b5fa23fb037924c63d8489789b0f517ba02ab7fb868534c22cc440", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling retro v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | peripherals: Box<[&'a mut Peripheral]>, [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | peripherals: Box<[&'a mut dyn Peripheral]>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn new(peripherals: Box<[&'a mut Peripheral]>) -> Self { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | fn new(peripherals: Box<[&'a mut dyn Peripheral]>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflowing_mul`, `overflowing_div`, `overflowing_rem`, and `overflowing_neg` are never used [INFO] [stdout] --> src/wrapping.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait Extensions: Sized { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn overflowing_mul(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn overflowing_div(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | fn overflowing_rem(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn overflowing_neg(self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `z` are never read [INFO] [stdout] --> src/chip/regs.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Regs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub w: w8, [INFO] [stdout] | ^ [INFO] [stdout] 64 | pub z: w8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Regs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4e111ae286b5fa23fb037924c63d8489789b0f517ba02ab7fb868534c22cc440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e111ae286b5fa23fb037924c63d8489789b0f517ba02ab7fb868534c22cc440", kill_on_drop: false }` [INFO] [stdout] 4e111ae286b5fa23fb037924c63d8489789b0f517ba02ab7fb868534c22cc440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6bb339c8db6ca998b368e0143e1426028a60fd6580e78a90ff359d09f367ab5 [INFO] running `Command { std: "docker" "start" "-a" "a6bb339c8db6ca998b368e0143e1426028a60fd6580e78a90ff359d09f367ab5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling retro v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | peripherals: Box<[&'a mut Peripheral]>, [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | peripherals: Box<[&'a mut dyn Peripheral]>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn new(peripherals: Box<[&'a mut Peripheral]>) -> Self { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | fn new(peripherals: Box<[&'a mut dyn Peripheral]>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/chip/mod.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | (res, false, false, res.count_ones() % 2 == 0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `Extensions::count_ones(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(wrapping_int_impl)]` to the crate attributes to enable `Wrapping::::count_ones` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(wrapping_int_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflowing_mul`, `overflowing_div`, `overflowing_rem`, and `overflowing_neg` are never used [INFO] [stdout] --> src/wrapping.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait Extensions: Sized { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn overflowing_mul(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn overflowing_div(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | fn overflowing_rem(self, other: Self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn overflowing_neg(self) -> (Self, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `z` are never read [INFO] [stdout] --> src/chip/regs.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Regs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub w: w8, [INFO] [stdout] | ^ [INFO] [stdout] 64 | pub z: w8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Regs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a6bb339c8db6ca998b368e0143e1426028a60fd6580e78a90ff359d09f367ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bb339c8db6ca998b368e0143e1426028a60fd6580e78a90ff359d09f367ab5", kill_on_drop: false }` [INFO] [stdout] a6bb339c8db6ca998b368e0143e1426028a60fd6580e78a90ff359d09f367ab5