[INFO] cloning repository https://github.com/AngelOnFira/rust-modular-exponentiation-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelOnFira/rust-modular-exponentiation-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-modular-exponentiation-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-modular-exponentiation-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fce76e1c9d90ce662178c4e86c58453db9c2dd91 [INFO] testing AngelOnFira/rust-modular-exponentiation-calculator against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-modular-exponentiation-calculator" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AngelOnFira/rust-modular-exponentiation-calculator on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AngelOnFira/rust-modular-exponentiation-calculator [INFO] finished tweaking git repo https://github.com/AngelOnFira/rust-modular-exponentiation-calculator [INFO] tweaked toml for git repo https://github.com/AngelOnFira/rust-modular-exponentiation-calculator written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate git repo https://github.com/AngelOnFira/rust-modular-exponentiation-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/kunerd/mod_pow` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded rustc-cfg v0.2.0 [INFO] [stderr] Downloaded ieee754 v0.2.2 [INFO] [stderr] Downloaded modexp v0.2.2 [INFO] [stderr] Downloaded num-bigint v0.1.43 [INFO] [stderr] Downloaded ramp v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e38870808650434dcf85e6c88eb266b753b8aeaeaafa5f5777c60b25a2e98c07 [INFO] running `Command { std: "docker" "start" "-a" "e38870808650434dcf85e6c88eb266b753b8aeaeaafa5f5777c60b25a2e98c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38870808650434dcf85e6c88eb266b753b8aeaeaafa5f5777c60b25a2e98c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38870808650434dcf85e6c88eb266b753b8aeaeaafa5f5777c60b25a2e98c07", kill_on_drop: false }` [INFO] [stdout] e38870808650434dcf85e6c88eb266b753b8aeaeaafa5f5777c60b25a2e98c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b0e834c91723cf974381c3e6b507fbd348b2bd93a8eee8893ea00b7cbf239d [INFO] running `Command { std: "docker" "start" "-a" "85b0e834c91723cf974381c3e6b507fbd348b2bd93a8eee8893ea00b7cbf239d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling ieee754 v0.2.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-bigint v0.1.43 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling ramp v0.3.12 [INFO] [stdout] error[E0432]: unresolved imports `alloc::allocator`, `alloc::allocator` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/mem.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use alloc::allocator::{self, Alloc}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ no `allocator` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `allocator` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/mem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/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[E0407]: method `replace_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3637:5 [INFO] [stdout] | [INFO] [stdout] 3637 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 3638 | | mem::replace(self, Self::one()) [INFO] [stdout] 3639 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3641:5 [INFO] [stdout] | [INFO] [stdout] 3641 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 3642 | | mem::replace(self, Self::zero()) [INFO] [stdout] 3643 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3645:5 [INFO] [stdout] | [INFO] [stdout] 3645 | / fn add_one(&self) -> Self { [INFO] [stdout] 3646 | | self + 1 [INFO] [stdout] 3647 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3649:5 [INFO] [stdout] | [INFO] [stdout] 3649 | / fn sub_one(&self) -> Self { [INFO] [stdout] 3650 | | self - 1 [INFO] [stdout] 3651 | | } [INFO] [stdout] | |_____^ not a member of trait `std::iter::Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `std::iter::Step` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3653:5 [INFO] [stdout] | [INFO] [stdout] 3653 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 3654 | | Some(self + Int::from(n)) [INFO] [stdout] 3655 | | } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | 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[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3625:1 [INFO] [stdout] | [INFO] [stdout] 3625 | 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[E0599]: no method named `as_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:155:59 [INFO] [stdout] | [INFO] [stdout] 155 | let mut vec = RawVec::from_raw_parts(self.ptr.as_mut(), 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[E0599]: no method named `unwrap` found for enum `Option>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | self.ptr = Unique::new(vec.ptr()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Option` [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | 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[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | 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[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:759:32 [INFO] [stdout] | [INFO] [stdout] 759 | 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[E0599]: no function or associated item named `empty` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.3.12/src/int.rs:3552:26 [INFO] [stdout] | [INFO] [stdout] 3552 | ptr: Unique::empty(), [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0407, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ramp` due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "85b0e834c91723cf974381c3e6b507fbd348b2bd93a8eee8893ea00b7cbf239d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b0e834c91723cf974381c3e6b507fbd348b2bd93a8eee8893ea00b7cbf239d", kill_on_drop: false }` [INFO] [stdout] 85b0e834c91723cf974381c3e6b507fbd348b2bd93a8eee8893ea00b7cbf239d