[INFO] cloning repository https://github.com/vladfdp/math_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladfdp/math_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/vladfdp/math_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladfdp/math_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38e6c12e5f1dd499c43923420eae567e460d0c56 [INFO] checking vladfdp/math_lib against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladfdp%2Fmath_lib" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vladfdp/math_lib [INFO] finished tweaking git repo https://github.com/vladfdp/math_lib [INFO] tweaked toml for git repo https://github.com/vladfdp/math_lib written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vladfdp/math_lib on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vladfdp/math_lib 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5cddd17cf8aead7cfe97cd5f580500d80a83924a57fa1c64d27ba18dd4ffae [INFO] running `Command { std: "docker" "start" "-a" "cf5cddd17cf8aead7cfe97cd5f580500d80a83924a57fa1c64d27ba18dd4ffae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5cddd17cf8aead7cfe97cd5f580500d80a83924a57fa1c64d27ba18dd4ffae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5cddd17cf8aead7cfe97cd5f580500d80a83924a57fa1c64d27ba18dd4ffae", kill_on_drop: false }` [INFO] [stdout] cf5cddd17cf8aead7cfe97cd5f580500d80a83924a57fa1c64d27ba18dd4ffae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07bc29bc6d4f1f48a3a97a5cbb7828cbd534af086e5c8d5083824b1af6e86666 [INFO] running `Command { std: "docker" "start" "-a" "07bc29bc6d4f1f48a3a97a5cbb7828cbd534af086e5c8d5083824b1af6e86666", kill_on_drop: false }` [INFO] [stderr] Checking math_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Sum` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/lib.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | use crate::traits::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | poly::poly_ff::Polyff}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EllipticCurvePoint` [INFO] [stdout] --> src/lib.rs:813:51 [INFO] [stdout] | [INFO] [stdout] 813 | use crate::elliptic_curve::{EllipticCurve,EllipticCurvePoint,ECPoint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ff::Polyff` [INFO] [stdout] --> src/lib.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | use crate::poly::poly_ff::Polyff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_zx::PolyZx` [INFO] [stdout] --> src/lib.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | use crate::poly::poly_zx::PolyZx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zn::Zn` [INFO] [stdout] --> src/lib.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | use crate::zn::Zn; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Inv` and `Pow` [INFO] [stdout] --> src/lib.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | use crate::traits::{Pow,Inv}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matrix_z::MatrixZ` [INFO] [stdout] --> src/lib.rs:934:9 [INFO] [stdout] | [INFO] [stdout] 934 | use crate::matrix_z::MatrixZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::poly::poly_ring::Poly` [INFO] [stdout] --> src/lib.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | use crate::poly::poly_ring::Poly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `into_i32`, `legendre_symbol`, `is_square`, and `sqrt` are never used [INFO] [stdout] --> src/zn.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Zn { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 128 | [INFO] [stdout] 129 | pub fn from_vec(vec: Vec,n:i32)-> Vec{ // get a vec of Zn from a vec and n [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn into_i32(vec: Vec)-> Vec { // get a vec of int from a vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn legendre_symbol(&self)->i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn is_square(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn sqrt(a:Zn)->(Zn,Zn){ //using cipolla's algorithm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math_lib` (lib); 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/36b21637e93b038453924d3c66821089e71d8baa/bin/rustc --crate-name math_lib --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=0fd7863d85974343 -C extra-filename=-19f5b97197c61ed9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Inv` [INFO] [stdout] --> src/poly/poly_ff.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{One,Zero,Inv}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_char` is never used [INFO] [stdout] --> src/traits.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Card { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 61 | fn get_card(&self)-> i32; [INFO] [stdout] 62 | fn get_char(&self)-> i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_zx.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolyZx{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 14 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_deg` is never used [INFO] [stdout] --> src/poly/poly_ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Poly [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T:Ring [INFO] [stdout] | |__________- method in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn get_deg(&self)->usize{self.coeff.len()-1} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `frobenius_map` is never used [INFO] [stdout] --> src/field_extension.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl FieldExtension { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn frobenius_map(x:FieldExtension)->FieldExtension{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_z.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VectorZ{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vector_ring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vector{ [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, index:usize)->T{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GCD` should have a snake case name [INFO] [stdout] --> src/poly/poly_ff.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn GCD(f:Polyff, g: Polyff)->Polyff{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ_a` should have a snake case name [INFO] [stdout] --> src/lib.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let MatrixZ_a = MatrixZ::new(vec![3,0,1,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ_b` should have a snake case name [INFO] [stdout] --> src/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let MatrixZ_b = MatrixZ::new(vec![2,4,0,1],2); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `matrix_z_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MatrixZ` should have a snake case name [INFO] [stdout] --> src/lib.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let MatrixZ = MatrixZ::new(vec![1,0,2,3],2); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `matrix_z` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07bc29bc6d4f1f48a3a97a5cbb7828cbd534af086e5c8d5083824b1af6e86666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bc29bc6d4f1f48a3a97a5cbb7828cbd534af086e5c8d5083824b1af6e86666", kill_on_drop: false }` [INFO] [stdout] 07bc29bc6d4f1f48a3a97a5cbb7828cbd534af086e5c8d5083824b1af6e86666