[INFO] cloning repository https://github.com/thaliaarchi/deadfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaliaarchi/deadfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: index-pack failed [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/thaliaarchi/deadfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaliaarchi/deadfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: index-pack failed [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/thaliaarchi/deadfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaliaarchi/deadfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: index-pack failed [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/thaliaarchi/deadfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaliaarchi/deadfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: index-pack failed [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/thaliaarchi/deadfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thaliaarchi/deadfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3be06d0aa531b2595732d5d6286188c07afda1e3 [INFO] checking thaliaarchi/deadfish against master#f25e92bd42b14e45440c0a30a4ed751ea502f430 for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to append to '/workspace/builds/worker-4-tc1/source/.git/logs/refs/remotes/origin/HEAD': No space left on device [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] [stderr] fatal: the remote end hung up unexpectedly [ERROR] this task or one of its parent failed! [ERROR] failed to checkout https://github.com/thaliaarchi/deadfish [ERROR] caused by: command failed: exit status: 128 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking thaliaarchi/deadfish against try#81417ccfba1b50f064bed768ddab670f5bbfdcfe for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] /workspace/builds/worker-4-tc2/source/.git/objects/pack: No space left on device [INFO] checking thaliaarchi/deadfish against try#81417ccfba1b50f064bed768ddab670f5bbfdcfe for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thaliaarchi/deadfish on toolchain 81417ccfba1b50f064bed768ddab670f5bbfdcfe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/thaliaarchi/deadfish [INFO] finished tweaking git repo https://github.com/thaliaarchi/deadfish [INFO] tweaked toml for git repo https://github.com/thaliaarchi/deadfish written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thaliaarchi/deadfish 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" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 855c0d27b04c1516ed4c3df9e49dd4d190ae9c84d48b70ae21f45ca6e0d673d2 [INFO] running `Command { std: "docker" "start" "-a" "855c0d27b04c1516ed4c3df9e49dd4d190ae9c84d48b70ae21f45ca6e0d673d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "855c0d27b04c1516ed4c3df9e49dd4d190ae9c84d48b70ae21f45ca6e0d673d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855c0d27b04c1516ed4c3df9e49dd4d190ae9c84d48b70ae21f45ca6e0d673d2", kill_on_drop: false }` [INFO] [stdout] 855c0d27b04c1516ed4c3df9e49dd4d190ae9c84d48b70ae21f45ca6e0d673d2 [INFO] checking thaliaarchi/deadfish against try#81417ccfba1b50f064bed768ddab670f5bbfdcfe for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthaliaarchi%2Fdeadfish" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thaliaarchi/deadfish on toolchain 81417ccfba1b50f064bed768ddab670f5bbfdcfe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/thaliaarchi/deadfish [INFO] finished tweaking git repo https://github.com/thaliaarchi/deadfish [INFO] tweaked toml for git repo https://github.com/thaliaarchi/deadfish written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thaliaarchi/deadfish 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" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d552c2aa0aece134db54963f407152f540e9a61433b90580c03d14b46e2cbb4 [INFO] running `Command { std: "docker" "start" "-a" "9d552c2aa0aece134db54963f407152f540e9a61433b90580c03d14b46e2cbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d552c2aa0aece134db54963f407152f540e9a61433b90580c03d14b46e2cbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d552c2aa0aece134db54963f407152f540e9a61433b90580c03d14b46e2cbb4", kill_on_drop: false }` [INFO] [stdout] 9d552c2aa0aece134db54963f407152f540e9a61433b90580c03d14b46e2cbb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 865b6c12f1db8b7072ca079d2e458c63069384ef43d766862837173dea60d390 [INFO] running `Command { std: "docker" "start" "-a" "865b6c12f1db8b7072ca079d2e458c63069384ef43d766862837173dea60d390", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deadfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | box_syntax, [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | box_syntax, [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tests.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | compare_encode(box |acc, n| Some(Inst::encode_number(acc, n))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 102 | compare_encode(Box::new(|acc, n| Some(Inst::encode_number(acc, n)))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tests.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | compare_encode(box move |acc, n| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 109 | | let (mut path, optimal) = enc.encode(acc, n); [INFO] [stdout] 110 | | if let Some(path) = &mut path { [INFO] [stdout] 111 | | path.push(Inst::O); [INFO] [stdout] ... | [INFO] [stdout] 116 | | path [INFO] [stdout] 117 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 108 ~ compare_encode(Box::new(move |acc, n| { [INFO] [stdout] 109 + let (mut path, optimal) = enc.encode(acc, n); [INFO] [stdout] 110 + if let Some(path) = &mut path { [INFO] [stdout] 111 + path.push(Inst::O); [INFO] [stdout] 112 + } [INFO] [stdout] 113 + if !optimal { [INFO] [stdout] 114 + println!("{acc} -> {n} may not be optimal with {path:?}"); [INFO] [stdout] 115 + } [INFO] [stdout] 116 + path [INFO] [stdout] 117 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | exclusive_range_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | const_convert, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | const_result_drop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `is_some_with` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | is_some_with [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialEq` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl const PartialEq for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialOrd` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl const PartialOrd for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialOrd` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl const PartialOrd for Offset { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ord` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | impl const Ord for Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Add` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl const Add for Acc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Add` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl const Add for Acc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddAssign` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl const AddAssign for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Sub` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl const Sub for Acc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Sub` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl const Sub for Acc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `SubAssign` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl const SubAssign for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Neg` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | impl const Neg for Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl const Default for Acc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl const From for Acc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl const From for Acc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl const From for u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | impl const From for i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl const From for Offset { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | exclusive_range_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | const_convert, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | const_result_drop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `is_some_with` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | is_some_with [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialEq` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl const PartialEq for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialOrd` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl const PartialOrd for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `PartialOrd` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl const PartialOrd for Offset { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Ord` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | impl const Ord for Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Add` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl const Add for Acc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Add` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl const Add for Acc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `AddAssign` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl const AddAssign for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Sub` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl const Sub for Acc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Sub` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl const Sub for Acc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `SubAssign` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl const SubAssign for Acc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Neg` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | impl const Neg for Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl const Default for Acc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl const From for Acc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl const From for Acc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl const From for u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | impl const From for i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/acc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl const From for Offset { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/heuristic.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | if simple_offset.is_some_and(|&offset| offset.len() <= len_via_0) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Offset`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `acc::Offset` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 33 - if simple_offset.is_some_and(|&offset| offset.len() <= len_via_0) { [INFO] [stdout] 33 + if simple_offset.is_some_and(|offset| offset.len() <= len_via_0) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/heuristic.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | if simple_offset.is_some_and(|&offset| offset.len() <= len_via_0) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Offset`, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `acc::Offset` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 33 - if simple_offset.is_some_and(|&offset| offset.len() <= len_via_0) { [INFO] [stdout] 33 + if simple_offset.is_some_and(|offset| offset.len() <= len_via_0) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::try_into` in constant functions [INFO] [stdout] --> src/acc.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | self.0.unsigned_abs().try_into().unwrap_or(u32::MAX) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap_or` in constant functions [INFO] [stdout] --> src/acc.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | self.0.unsigned_abs().try_into().unwrap_or(u32::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | *self = *self + rhs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | *self = *self - rhs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | self + rhs.abs() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | self - rhs.abs() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | self + -rhs [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | self + -rhs [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::cmp` in constant functions [INFO] [stdout] --> src/acc.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | Some(self.cmp(other)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/heuristic.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | n = (Acc::from_raw(n) + offset).value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deadfish` (lib) due to 33 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const fn `>::try_into` in constant functions [INFO] [stdout] --> src/acc.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | self.0.unsigned_abs().try_into().unwrap_or(u32::MAX) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap_or` in constant functions [INFO] [stdout] --> src/acc.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | self.0.unsigned_abs().try_into().unwrap_or(u32::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | *self = *self + rhs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | *self = *self - rhs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | self + rhs.abs() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | self - rhs.abs() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | self + -rhs [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/acc.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | self + -rhs [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::cmp` in constant functions [INFO] [stdout] --> src/acc.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | Some(self.cmp(other)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/heuristic.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | n = (Acc::from_raw(n) + offset).value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0557, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deadfish` (lib test) due to 35 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "865b6c12f1db8b7072ca079d2e458c63069384ef43d766862837173dea60d390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865b6c12f1db8b7072ca079d2e458c63069384ef43d766862837173dea60d390", kill_on_drop: false }` [INFO] [stdout] 865b6c12f1db8b7072ca079d2e458c63069384ef43d766862837173dea60d390