[INFO] fetching crate framp 0.3.7... [INFO] testing framp-0.3.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate framp 0.3.7 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate framp 0.3.7 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e17fcd31f810955ad1fe16ad61fcf14c1ffbd9ae3c6d6ca921d689fabc9152 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "69e17fcd31f810955ad1fe16ad61fcf14c1ffbd9ae3c6d6ca921d689fabc9152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e17fcd31f810955ad1fe16ad61fcf14c1ffbd9ae3c6d6ca921d689fabc9152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e17fcd31f810955ad1fe16ad61fcf14c1ffbd9ae3c6d6ca921d689fabc9152", kill_on_drop: false }` [INFO] [stdout] 69e17fcd31f810955ad1fe16ad61fcf14c1ffbd9ae3c6d6ca921d689fabc9152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74e3cff464bfb0609abb518ae9cda97fbc3dfd79868d44c490b941b5bdec4bec [INFO] running `Command { std: "docker" "start" "-a" "74e3cff464bfb0609abb518ae9cda97fbc3dfd79868d44c490b941b5bdec4bec", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling ieee754 v0.2.6 [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] warning: 1 warning emitted [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(core_intrinsics, asm, heap_api, associated_consts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(step_trait, unique, alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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] [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] [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] [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] [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] error[E0554]: `#![feature]` may not be used on the beta release channel [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] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [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] error[E0554]: `#![feature]` may not be used on the beta release channel [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(step_trait, unique, alloc)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [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[E0554]: `#![feature]` may not be used on the beta release channel [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] 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) -> 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] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for struct `Unique` in the current scope [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] | ^^^^^^ method not found in `Unique` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Unique` [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] [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 struct `Unique`, found enum `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 dereferencing the type [INFO] [stdout] | [INFO] [stdout] 165 | self.ptr = *Unique::new(vec.ptr()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `limbs_uninit` found for mutable reference `&mut Int` in the current scope [INFO] [stdout] --> src/int.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | let self_ptr = self.limbs_uninit(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut Int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/int.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | ret.with_raw_vec(|v| v.reserve_exact(0, cap as usize)) [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/int.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | self.with_raw_vec(|v| { [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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] [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] [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] [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] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/int.rs:757:32 [INFO] [stdout] | [INFO] [stdout] 757 | self.with_raw_vec(|v| { [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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] [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] [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] [INFO] [stdout] warning: use of deprecated associated function `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:3614:27 [INFO] [stdout] | [INFO] [stdout] 3614 | ptr: unsafe { Unique::new(alloc::heap::EMPTY as *mut Limb) }, [INFO] [stdout] | ^^^^^^^^^^^ [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 struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [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] | ^^^^^^^^^^^^^^^^^^^ ----- --- ------------ supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] 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] = 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] = 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: aborting due to 51 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0061, E0282, E0308, E0407, E0432, E0433, E0554... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `framp` due to 52 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74e3cff464bfb0609abb518ae9cda97fbc3dfd79868d44c490b941b5bdec4bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e3cff464bfb0609abb518ae9cda97fbc3dfd79868d44c490b941b5bdec4bec", kill_on_drop: false }` [INFO] [stdout] 74e3cff464bfb0609abb518ae9cda97fbc3dfd79868d44c490b941b5bdec4bec