[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLockerman%2Fasm_sim" "/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/JLockerman/asm_sim on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4422843680ba668cf3bbce747466629641710b0da903290bc9e88517a0eaf7f4 [INFO] running `Command { std: "docker" "start" "-a" "4422843680ba668cf3bbce747466629641710b0da903290bc9e88517a0eaf7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4422843680ba668cf3bbce747466629641710b0da903290bc9e88517a0eaf7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4422843680ba668cf3bbce747466629641710b0da903290bc9e88517a0eaf7f4", kill_on_drop: false }` [INFO] [stdout] 4422843680ba668cf3bbce747466629641710b0da903290bc9e88517a0eaf7f4 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 876e54b936f87799fd051ada85503400bb612d105ba1268d085cd53d54b7edb9 [INFO] running `Command { std: "docker" "start" "-a" "876e54b936f87799fd051ada85503400bb612d105ba1268d085cd53d54b7edb9", 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] 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] 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 12 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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "876e54b936f87799fd051ada85503400bb612d105ba1268d085cd53d54b7edb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876e54b936f87799fd051ada85503400bb612d105ba1268d085cd53d54b7edb9", kill_on_drop: false }` [INFO] [stdout] 876e54b936f87799fd051ada85503400bb612d105ba1268d085cd53d54b7edb9