[INFO] fetching crate framp 0.3.7... [INFO] testing framp-0.3.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate framp 0.3.7 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate framp 0.3.7 [INFO] finished tweaking crates.io crate framp 0.3.7 [INFO] tweaked toml for crates.io crate framp 0.3.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate framp 0.3.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding num-bigint v0.1.45 (available: v0.4.6) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding quickcheck v0.4.1 (available: v1.0.3) [INFO] [stderr] Adding quickcheck_macros v0.4.2 (available: v1.1.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] [stderr] Adding rust-gmp v0.2.10 (available: v0.5.0) [INFO] [stderr] Adding rustc-cfg v0.2.0 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.4.1 [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded rustc-cfg v0.2.0 [INFO] [stderr] Downloaded rust-gmp v0.2.10 [INFO] [stderr] Downloaded quickcheck_macros v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fdeb232af363566f23dabef16ac8c85a6e54a53f0b5f7f448e61246fae64f3d [INFO] running `Command { std: "docker" "start" "-a" "9fdeb232af363566f23dabef16ac8c85a6e54a53f0b5f7f448e61246fae64f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fdeb232af363566f23dabef16ac8c85a6e54a53f0b5f7f448e61246fae64f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fdeb232af363566f23dabef16ac8c85a6e54a53f0b5f7f448e61246fae64f3d", kill_on_drop: false }` [INFO] [stdout] 9fdeb232af363566f23dabef16ac8c85a6e54a53f0b5f7f448e61246fae64f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8c4af1c009feacc43873aabdd97535208718b04550c0bbdc50459696c6f9e4a8 [INFO] running `Command { std: "docker" "start" "-a" "8c4af1c009feacc43873aabdd97535208718b04550c0bbdc50459696c6f9e4a8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling framp v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | gcc::compile_library("libasm.a", asm_srcs); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/mem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/ll/limb.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | asm!("mulq $3" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 15 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/ll/limb.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | asm!("addq $4, $0 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 15 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/ll/limb.rs:586:17 [INFO] [stdout] | [INFO] [stdout] 586 | asm!("subq $4, $0 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 15 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/ll/limb.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | asm!("divq $4" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 15 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `heap` in `alloc` [INFO] [stdout] --> src/int.rs:3614:46 [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb) }, [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `step` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3688:5 [INFO] [stdout] | [INFO] [stdout] 3688 | / fn step(&self, by: &Int) -> Option { [INFO] [stdout] 3689 | | Some(self + by) [INFO] [stdout] 3690 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `steps_between_by_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3707:5 [INFO] [stdout] | [INFO] [stdout] 3707 | / fn steps_between_by_one(start: &Self, end: &Self) -> Option { [INFO] [stdout] 3708 | | Self::steps_between(start, end, &Self::one()) [INFO] [stdout] 3709 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `is_negative` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3711:5 [INFO] [stdout] | [INFO] [stdout] 3711 | / fn is_negative(&self) -> bool { [INFO] [stdout] 3712 | | self.sign() < 0 [INFO] [stdout] 3713 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3715:5 [INFO] [stdout] | [INFO] [stdout] 3715 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 3716 | | mem::replace(self, Self::one()) [INFO] [stdout] 3717 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3719:5 [INFO] [stdout] | [INFO] [stdout] 3719 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 3720 | | mem::replace(self, Self::zero()) [INFO] [stdout] 3721 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3723:5 [INFO] [stdout] | [INFO] [stdout] 3723 | / fn add_one(&self) -> Self { [INFO] [stdout] 3724 | | self + 1 [INFO] [stdout] 3725 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> src/int.rs:3727:5 [INFO] [stdout] | [INFO] [stdout] 3727 | / fn sub_one(&self) -> Self { [INFO] [stdout] 3728 | | self - 1 [INFO] [stdout] 3729 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `raw_vec` is private [INFO] [stdout] --> src/int.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `raw_vec` is defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/lib.rs:205:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics, asm, heap_api, associated_consts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(feature="fallbacks",not(asm)))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/int.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | try!(w.write_all(b"-")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/int.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | b'0'...b'9' => c - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/int.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | b'A'...b'Z' => (c - b'A') + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/int.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | b'a'...b'z' => (c - b'a') + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/int.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/int.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | ptr: Unique, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/int.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | self.ptr = Unique::new(vec.ptr()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/int.rs:3614:27 [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb) }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics, asm, heap_api, associated_consts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics, asm, heap_api, associated_consts)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(step_trait, unique, alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(step_trait, unique, alloc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics, asm, heap_api, associated_consts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `steps_between` has 3 parameters but the declaration in trait `steps_between` has 2 [INFO] [stdout] --> src/int.rs:3692:29 [INFO] [stdout] | [INFO] [stdout] 3692 | fn steps_between(start: &Int, end: &Int, by: &Int) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `steps_between` from trait: `fn(&Self, &Self) -> (usize, Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> src/int.rs:3687:1 [INFO] [stdout] | [INFO] [stdout] 3687 | impl std::iter::Step for Int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn forward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn backward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | *i.ptr.as_ptr() = limb; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:158:59 [INFO] [stdout] | [INFO] [stdout] 158 | let mut vec = RawVec::from_raw_parts(self.ptr.as_ptr(), old_cap); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | self.ptr = Unique::new(vec.ptr()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/int.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | self.ptr = Unique::new(vec.ptr()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 165 | self.ptr = Unique::new(vec.ptr()).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | return unsafe { *self.ptr.as_ref() }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:631:53 [INFO] [stdout] | [INFO] [stdout] 631 | std::slice::from_raw_parts(self.ptr.as_ref() as *const _ as *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:740:33 [INFO] [stdout] | [INFO] [stdout] 740 | Limbs::new(self.ptr.as_ref(), 0, self.abs_size()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:746:36 [INFO] [stdout] | [INFO] [stdout] 746 | LimbsMut::new(self.ptr.as_ptr(), 0, self.abs_size()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:751:32 [INFO] [stdout] | [INFO] [stdout] 751 | LimbsMut::new(self.ptr.as_ptr(), 0, self.cap as i32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:787:27 [INFO] [stdout] | [INFO] [stdout] 787 | *self.ptr.as_ptr().offset((self.abs_size() - 1) as isize) == 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:807:23 [INFO] [stdout] | [INFO] [stdout] 807 | *self.ptr.as_ptr().offset((self.abs_size() - 1) as isize) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:979:54 [INFO] [stdout] | [INFO] [stdout] 979 | drop(RawVec::from_raw_parts(self.ptr.as_ptr(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/int.rs:3539:14 [INFO] [stdout] | [INFO] [stdout] 3539 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:3565:55 [INFO] [stdout] | [INFO] [stdout] 3565 | let higher = unsafe { (*i.ptr.as_ptr().offset(1)).0 } as $t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3608 | impl_from_for_prim!(signed i8, i16, i32, i64, isize); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_from_for_prim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:3593:55 [INFO] [stdout] | [INFO] [stdout] 3593 | let higher = unsafe { (*i.ptr.as_ptr().offset(1)).0 } as $t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3609 | impl_from_for_prim!(unsigned u8, u16, u32, u64, usize); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_from_for_prim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/int.rs:3614:27 [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/int.rs:3614:27 [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb).expect("REASON") }, [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/int.rs:3708:9 [INFO] [stdout] | [INFO] [stdout] 3708 | Self::steps_between(start, end, &Self::one()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------ unexpected argument #3 of type `&Int` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/iter/range.rs:39:8 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 3708 - Self::steps_between(start, end, &Self::one()) [INFO] [stdout] 3708 + Self::steps_between(start, end) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/int.rs:3708:9 [INFO] [stdout] | [INFO] [stdout] 3707 | fn steps_between_by_one(start: &Self, end: &Self) -> Option { [INFO] [stdout] | ------------- expected `Option` because of return type [INFO] [stdout] 3708 | Self::steps_between(start, end, &Self::one()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `(usize, Option)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found tuple `(usize, Option)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rational.rs:892:16 [INFO] [stdout] | [INFO] [stdout] 892 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ll/limb.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ll/limb.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ll/mod.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe { abort() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0061, E0308, E0407, E0432, E0433, E0603, E0635... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `framp` (lib) due to 40 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c4af1c009feacc43873aabdd97535208718b04550c0bbdc50459696c6f9e4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4af1c009feacc43873aabdd97535208718b04550c0bbdc50459696c6f9e4a8", kill_on_drop: false }` [INFO] [stdout] 8c4af1c009feacc43873aabdd97535208718b04550c0bbdc50459696c6f9e4a8