[INFO] cloning repository https://github.com/Shika-B/math-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shika-B/math-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShika-B%2Fmath-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShika-B%2Fmath-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1776f946da0998b2bd8348c156bfc6d404d0fc3 [INFO] checking Shika-B/math-utils against master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShika-B%2Fmath-utils" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shika-B/math-utils on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shika-B/math-utils [INFO] finished tweaking git repo https://github.com/Shika-B/math-utils [INFO] tweaked toml for git repo https://github.com/Shika-B/math-utils written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Shika-B/math-utils 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" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Shika-B/math-utils against try#2466b92ed5feb282a98bb984f45d1e6d39f8c1aa for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShika-B%2Fmath-utils" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shika-B/math-utils on toolchain 2466b92ed5feb282a98bb984f45d1e6d39f8c1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shika-B/math-utils [INFO] finished tweaking git repo https://github.com/Shika-B/math-utils [INFO] tweaked toml for git repo https://github.com/Shika-B/math-utils written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shika-B/math-utils 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" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cbf50d22be7e63db080621b2a1729c6c8e7a9a41bfe2045e47fcfd635fb3d97 [INFO] running `Command { std: "docker" "start" "-a" "3cbf50d22be7e63db080621b2a1729c6c8e7a9a41bfe2045e47fcfd635fb3d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cbf50d22be7e63db080621b2a1729c6c8e7a9a41bfe2045e47fcfd635fb3d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbf50d22be7e63db080621b2a1729c6c8e7a9a41bfe2045e47fcfd635fb3d97", kill_on_drop: false }` [INFO] [stdout] 3cbf50d22be7e63db080621b2a1729c6c8e7a9a41bfe2045e47fcfd635fb3d97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca2d7204291a165300de2d99aa930b20fe6970e9889050b27dface1a5f9568a6 [INFO] running `Command { std: "docker" "start" "-a" "ca2d7204291a165300de2d99aa930b20fe6970e9889050b27dface1a5f9568a6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking crypto-maths v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num::pow` [INFO] [stdout] --> src/ring/arithmetic/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use num::pow; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ring::Ring` [INFO] [stdout] --> src/ring/mod_int/mod_int.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use crate::ring::Ring; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ring::mod_int::ModInt` [INFO] [stdout] --> src/ring/mod_int/mod_int.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use crate::ring::mod_int::ModInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `big_mod_int::*` [INFO] [stdout] --> src/ring/mod_int/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use big_mod_int::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `Shl` [INFO] [stdout] --> src/ring/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | ops::{Add, AddAssign, BitAnd, Mul, MulAssign, Neg, Shl, Sub, SubAssign}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Integer` [INFO] [stdout] --> src/ring/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use num::{Integer, One, Zero}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::pow` [INFO] [stdout] --> src/ring/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use num::pow; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::pow` [INFO] [stdout] --> src/ring/arithmetic/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use num::pow; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `big_mod_int::*` [INFO] [stdout] --> src/ring/mod_int/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use big_mod_int::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `Shl` [INFO] [stdout] --> src/ring/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | ops::{Add, AddAssign, BitAnd, Mul, MulAssign, Neg, Shl, Sub, SubAssign}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Integer` [INFO] [stdout] --> src/ring/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use num::{Integer, One, Zero}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::pow` [INFO] [stdout] --> src/ring/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use num::pow; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/matrix/matrix.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix<'a, R: Ring<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_field`, `is_commutative`, and `inverse` are never used [INFO] [stdout] --> src/ring/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Ring<'a>: [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | fn is_field(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn is_commutative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn inverse(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/ring/arithmetic/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn gcd(n1: &N, n2: &N) -> N { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lcm` is never used [INFO] [stdout] --> src/ring/arithmetic/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn lcm(n1: &N, n2: &N) -> N { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_field` and `mod_pow` are never used [INFO] [stdout] --> src/ring/mod_int/mod_int.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ModInt { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_field(value: i128, modulus: i128) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn mod_pow(&self, exp: i128) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dim` is never used [INFO] [stdout] --> src/ring/polynomial/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Polynomial<'a>: Ring<'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 11 | type CoefRing: Ring<'a>; [INFO] [stdout] 12 | fn dim(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `eval` are never used [INFO] [stdout] --> src/ring/polynomial/univar_polynomial.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, R: Ring<'a>> UPolynomial<'a, R> { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(coefficients: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn eval(&self, point: R) -> R { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/matrix/matrix.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Matrix<'a, R: Ring<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_field` is never used [INFO] [stdout] --> src/ring/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Ring<'a>: [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | fn is_field(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/ring/arithmetic/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn gcd(n1: &N, n2: &N) -> N { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lcm` is never used [INFO] [stdout] --> src/ring/arithmetic/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn lcm(n1: &N, n2: &N) -> N { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_field` is never used [INFO] [stdout] --> src/ring/mod_int/mod_int.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ModInt { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new_field(value: i128, modulus: i128) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dim` is never used [INFO] [stdout] --> src/ring/polynomial/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Polynomial<'a>: Ring<'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 11 | type CoefRing: Ring<'a>; [INFO] [stdout] 12 | fn dim(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> src/ring/polynomial/univar_polynomial.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, R: Ring<'a>> UPolynomial<'a, R> { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn eval(&self, point: R) -> R { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "ca2d7204291a165300de2d99aa930b20fe6970e9889050b27dface1a5f9568a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2d7204291a165300de2d99aa930b20fe6970e9889050b27dface1a5f9568a6", kill_on_drop: false }` [INFO] [stdout] ca2d7204291a165300de2d99aa930b20fe6970e9889050b27dface1a5f9568a6