[INFO] cloning repository https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OlivierLemoine/raspberry-pi-4-hal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c7a04cd7ebf33e886d43915f368694130899626 [INFO] testing OlivierLemoine/raspberry-pi-4-hal against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config [INFO] removed /workspace/builds/worker-10/source/rust-toolchain [INFO] started tweaking git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] finished tweaking git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] tweaked toml for git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a187b8a6100de47341cb2d9430804a955ee8c1d89e307df9902d6842d8890b40 [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" "a187b8a6100de47341cb2d9430804a955ee8c1d89e307df9902d6842d8890b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a187b8a6100de47341cb2d9430804a955ee8c1d89e307df9902d6842d8890b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a187b8a6100de47341cb2d9430804a955ee8c1d89e307df9902d6842d8890b40", kill_on_drop: false }` [INFO] [stdout] a187b8a6100de47341cb2d9430804a955ee8c1d89e307df9902d6842d8890b40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a7891d45509164dc41fa86a1eb7bb8c8df3200a381cfaace8b4e859a1be04d9 [INFO] running `Command { std: "docker" "start" "-a" "2a7891d45509164dc41fa86a1eb7bb8c8df3200a381cfaace8b4e859a1be04d9", kill_on_drop: false }` [INFO] [stderr] Compiling register v0.1.0 (/opt/rustwide/workdir/register) [INFO] [stderr] Compiling hal v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/lib.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { asm!("mrs {}, CurrentEL", out(reg) res) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/time.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/time.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | asm!("mrs {}, cntpct_el0", out(reg) count); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/time.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mailbox.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | [u32; Tags::::LEN + 3]: Sized, [INFO] [stdout] | ^^ cannot perform const operation using `O1` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/mailbox.rs:372:26 [INFO] [stdout] | [INFO] [stdout] 372 | [u32; Tags::::LEN + 3]: Sized, [INFO] [stdout] | ^^ cannot perform const operation using `O2` [INFO] [stdout] | [INFO] [stdout] = note: type parameters may not be used in const expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/mailbox.rs:375:63 [INFO] [stdout] | [INFO] [stdout] 375 | let mut buffer = Align16Buffer([0u32; Tags::::LEN + 3]); // size + request code + tags + zero terminated [INFO] [stdout] | ^^^ multiple `LEN` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TagsHolder` for the type `Tags` [INFO] [stdout] --> src/mailbox.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | const LEN: usize = T::LEN + 3 + O::LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `mailbox::Tag` [INFO] [stdout] --> src/mailbox.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | const LEN: usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated constant for candidate #1 [INFO] [stdout] | [INFO] [stdout] 375 | let mut buffer = Align16Buffer([0u32; as TagsHolder>::LEN + 3]); // size + request code + tags + zero terminated [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated constant for candidate #2 [INFO] [stdout] | [INFO] [stdout] 375 | let mut buffer = Align16Buffer([0u32; as mailbox::Tag>::LEN + 3]); // size + request code + tags + zero terminated [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mailbox.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 375 | let mut buffer = Align16Buffer([0u32; Tags::::LEN + 3]); // size + request code + tags + zero terminated [INFO] [stdout] | ---------- consider giving `buffer` a type [INFO] [stdout] 376 | buffer.0[0] = (buffer.0.len() << 2) as u32; // Size [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `Tags` in the current scope [INFO] [stdout] --> src/mailbox.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Tags(T, O); [INFO] [stdout] | ---------------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 380 | self.tags.serialize(&mut buffer.0[2..buffer_len - 1]); [INFO] [stdout] | ^^^^^^^^^ method not found in `Tags` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `TagsHolder` [INFO] [stdout] candidate #2: `mailbox::Tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_message` found for struct `Mailbox` in the current scope [INFO] [stdout] --> src/mailbox.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Mailbox; [INFO] [stdout] | ------------------- method `write_message` not found for this [INFO] [stdout] ... [INFO] [stdout] 386 | .write_message(Channel::TagsArmToVC, v) [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Mailbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/mailbox.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 393 | let res = Tags::::deserialize(&buffer.0[2..buffer_len - 1]); [INFO] [stdout] | ^^^^^^^^^^^ multiple `deserialize` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `TagsHolder` for the type `Tags` [INFO] [stdout] --> src/mailbox.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | fn deserialize(buffer: &[u32]) -> Self::Res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `mailbox::Tag` [INFO] [stdout] --> src/mailbox.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | fn deserialize(from: &[u32]) -> Self::Res; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 393 | let res = <&[u32] as TagsHolder>::deserialize(&buffer.0[2..buffer_len - 1]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 393 | let res = as mailbox::Tag>::deserialize(&buffer.0[2..buffer_len - 1]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282, E0554, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hal` due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2a7891d45509164dc41fa86a1eb7bb8c8df3200a381cfaace8b4e859a1be04d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7891d45509164dc41fa86a1eb7bb8c8df3200a381cfaace8b4e859a1be04d9", kill_on_drop: false }` [INFO] [stdout] 2a7891d45509164dc41fa86a1eb7bb8c8df3200a381cfaace8b4e859a1be04d9