[INFO] cloning repository https://github.com/JLockerman/asm_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JLockerman/asm_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLockerman%2Fasm_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLockerman%2Fasm_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae0f665c45e661accdcce0b820a0a865d773981 [INFO] checking JLockerman/asm_sim/dae0f665c45e661accdcce0b820a0a865d773981 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLockerman%2Fasm_sim" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JLockerman/asm_sim on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JLockerman/asm_sim [INFO] finished tweaking git repo https://github.com/JLockerman/asm_sim [INFO] tweaked toml for git repo https://github.com/JLockerman/asm_sim written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JLockerman/asm_sim 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9550b1230eb2ef9c0aa73ddba466233d45abe319bd72c6d89488a881f8e7621 [INFO] running `Command { std: "docker" "start" "-a" "d9550b1230eb2ef9c0aa73ddba466233d45abe319bd72c6d89488a881f8e7621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9550b1230eb2ef9c0aa73ddba466233d45abe319bd72c6d89488a881f8e7621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9550b1230eb2ef9c0aa73ddba466233d45abe319bd72c6d89488a881f8e7621", kill_on_drop: false }` [INFO] [stdout] d9550b1230eb2ef9c0aa73ddba466233d45abe319bd72c6d89488a881f8e7621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e182aba0238aef00a45603c38e87c8db316b2c3e0b9608dc525b446df2fe779 [INFO] running `Command { std: "docker" "start" "-a" "5e182aba0238aef00a45603c38e87c8db316b2c3e0b9608dc525b446df2fe779", kill_on_drop: false }` [INFO] [stderr] Checking asm_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::into` in statics [INFO] [stdout] --> src/sundries.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `$crate::asm_stmt` which comes from the expansion of the macro `assembly` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `>::Output == sundries::int64` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `>::Output == sundries::int64` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `sundries::int64: std::ops::Add<_>` found [INFO] [stdout] --> src/sundries.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | impl Plus for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | impl Plus for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `sundries::int64: std::ops::Add<_>` found [INFO] [stdout] --> src/sundries.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | impl Plus for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | impl Plus for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `_: From` found [INFO] [stdout] --> src/sundries.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl From for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and more `impl`s found in the following crates: `core`: [INFO] [stdout] - impl From for AtomicI64; [INFO] [stdout] - impl From for i128; [INFO] [stdout] = note: required for `i64` to implement `Into<_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + (rhs as i64).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `_: From` found [INFO] [stdout] --> src/sundries.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl From for int64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and more `impl`s found in the following crates: `core`: [INFO] [stdout] - impl From for AtomicI64; [INFO] [stdout] - impl From for i128; [INFO] [stdout] = note: required for `i64` to implement `Into<_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 135 | let res = *self + >::into((rhs as i64)); [INFO] [stdout] | +++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | &(self.0).0 == rhs.try_into().expect("overflow") [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&i64: PartialEq<_>` found in the `core` crate: [INFO] [stdout] - impl PartialEq<&B> for &A [INFO] [stdout] where A: PartialEq, A: ?Sized, B: ?Sized; [INFO] [stdout] - impl PartialEq<&mut B> for &A [INFO] [stdout] where A: PartialEq, A: ?Sized, B: ?Sized; [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 199 | &(self.0).0 == <&usize as TryInto>::try_into(rhs).expect("overflow") [INFO] [stdout] | +++++++++++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sundries.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | &(self.0).0 == rhs.try_into().expect("overflow") [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&i64: PartialEq<_>` found in the `core` crate: [INFO] [stdout] - impl PartialEq<&B> for &A [INFO] [stdout] where A: PartialEq, A: ?Sized, B: ?Sized; [INFO] [stdout] - impl PartialEq<&mut B> for &A [INFO] [stdout] where A: PartialEq, A: ?Sized, B: ?Sized; [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 199 | &(self.0).0 == <&usize as TryInto>::try_into(rhs).expect("overflow") [INFO] [stdout] | +++++++++++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0283, E0284. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0283, E0284. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asm_sim` (bin "asm_sim") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `asm_sim` (bin "asm_sim" test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5e182aba0238aef00a45603c38e87c8db316b2c3e0b9608dc525b446df2fe779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e182aba0238aef00a45603c38e87c8db316b2c3e0b9608dc525b446df2fe779", kill_on_drop: false }` [INFO] [stdout] 5e182aba0238aef00a45603c38e87c8db316b2c3e0b9608dc525b446df2fe779