[INFO] fetching crate suan-core 0.0.3... [INFO] testing suan-core-0.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate suan-core 0.0.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate suan-core 0.0.3 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 suan-core 0.0.3 [INFO] finished tweaking crates.io crate suan-core 0.0.3 [INFO] tweaked toml for crates.io crate suan-core 0.0.3 written to /workspace/builds/worker-10/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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b223c75eec6c9518fe6bd4eab57fea1f8ce9953ad2c2891e281de2465dff11a3 [INFO] running `Command { std: "docker" "start" "-a" "b223c75eec6c9518fe6bd4eab57fea1f8ce9953ad2c2891e281de2465dff11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b223c75eec6c9518fe6bd4eab57fea1f8ce9953ad2c2891e281de2465dff11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b223c75eec6c9518fe6bd4eab57fea1f8ce9953ad2c2891e281de2465dff11a3", kill_on_drop: false }` [INFO] [stdout] b223c75eec6c9518fe6bd4eab57fea1f8ce9953ad2c2891e281de2465dff11a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 85b6cef8bd8bb694f1571d698f046e83d57a9e1365cfc457e450db3112554cd0 [INFO] running `Command { std: "docker" "start" "-a" "85b6cef8bd8bb694f1571d698f046e83d57a9e1365cfc457e450db3112554cd0", kill_on_drop: false }` [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num-modular v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling lru v0.7.5 [INFO] [stderr] Compiling num-modular v0.0.2 [INFO] [stderr] Compiling num-prime v0.3.0-alpha [INFO] [stderr] Compiling num-irrational v0.2.0 [INFO] [stderr] Compiling suan-core v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_irrational::Quadratic64` [INFO] [stdout] --> src/property.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_irrational::Quadratic64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MontgomeryBigint` [INFO] [stdout] --> src/subject.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use num_modular::{MontgomeryBigint, MontgomeryInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cont_frac.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn int(self, rounding: ()) {} // TODO: default rounding mode is nearest. [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:214:41 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modulus` [INFO] [stdout] --> src/property.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modulus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:216:38 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/property.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cfrac` [INFO] [stdout] --> src/cont_frac.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `abs` [INFO] [stdout] --> src/property.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn abs() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conj` [INFO] [stdout] --> src/property.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn conj() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arg` [INFO] [stdout] --> src/property.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn arg() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.36s [INFO] running `Command { std: "docker" "inspect" "85b6cef8bd8bb694f1571d698f046e83d57a9e1365cfc457e450db3112554cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b6cef8bd8bb694f1571d698f046e83d57a9e1365cfc457e450db3112554cd0", kill_on_drop: false }` [INFO] [stdout] 85b6cef8bd8bb694f1571d698f046e83d57a9e1365cfc457e450db3112554cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "test" "--frozen" "--no-run" "--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] a9749f452aac28679aebb5732722ca3a3b006a83464e85be3f45b2e8c98a1102 [INFO] running `Command { std: "docker" "start" "-a" "a9749f452aac28679aebb5732722ca3a3b006a83464e85be3f45b2e8c98a1102", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `num_irrational::Quadratic64` [INFO] [stdout] --> src/property.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_irrational::Quadratic64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MontgomeryBigint` [INFO] [stdout] --> src/subject.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use num_modular::{MontgomeryBigint, MontgomeryInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cont_frac.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn int(self, rounding: ()) {} // TODO: default rounding mode is nearest. [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:214:41 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modulus` [INFO] [stdout] --> src/property.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modulus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:216:38 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling suan-core v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/property.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cfrac` [INFO] [stdout] --> src/cont_frac.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `abs` [INFO] [stdout] --> src/property.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn abs() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conj` [INFO] [stdout] --> src/property.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn conj() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arg` [INFO] [stdout] --> src/property.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn arg() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_irrational::Quadratic64` [INFO] [stdout] --> src/property.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_irrational::Quadratic64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MontgomeryBigint` [INFO] [stdout] --> src/subject.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use num_modular::{MontgomeryBigint, MontgomeryInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cont_frac.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn int(self, rounding: ()) {} // TODO: default rounding mode is nearest. [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:214:41 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modulus` [INFO] [stdout] --> src/property.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modulus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/property.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:216:38 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/property.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/property.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cfrac` [INFO] [stdout] --> src/cont_frac.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cfrac(s: Subject) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `abs` [INFO] [stdout] --> src/property.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn abs() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conj` [INFO] [stdout] --> src/property.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn conj() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arg` [INFO] [stdout] --> src/property.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn arg() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/suan_core-c26ab8ade7f1c7cc) [INFO] running `Command { std: "docker" "inspect" "a9749f452aac28679aebb5732722ca3a3b006a83464e85be3f45b2e8c98a1102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9749f452aac28679aebb5732722ca3a3b006a83464e85be3f45b2e8c98a1102", kill_on_drop: false }` [INFO] [stdout] a9749f452aac28679aebb5732722ca3a3b006a83464e85be3f45b2e8c98a1102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a354df7071d84b3b90031191a00de2ad9259643e285f1766a09b37d5248781e [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" "4a354df7071d84b3b90031191a00de2ad9259643e285f1766a09b37d5248781e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `num_irrational::Quadratic64` [INFO] [stderr] --> src/property.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use num_irrational::Quadratic64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MontgomeryBigint` [INFO] [stderr] --> src/subject.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | use num_modular::{MontgomeryBigint, MontgomeryInt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/cont_frac.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | fn cfrac(s: Subject) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:211:22 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn int(self, rounding: ()) {} // TODO: default rounding mode is nearest. [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/property.rs:212:23 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:212:38 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn real(self, precision: (), rounding: ()) {} // TODO: default precision from integer is f64 [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/property.rs:213:27 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:213:42 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn rational(self, precision: (), rounding: ()) {} // TODO: precision of rational is the scale of the denominator [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/property.rs:214:26 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:214:41 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn complex(self, precision: (), rounding: ()) {} // TODO: panics when convert from complex to normal number [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modulus` [INFO] [stderr] --> src/property.rs:215:25 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modulus` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:215:38 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn intmod(self, modulus: (), rounding: ()) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/property.rs:216:23 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:216:38 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn quad(self, precision: (), rounding: ()) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base` [INFO] [stderr] --> src/property.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rounding` [INFO] [stderr] --> src/property.rs:217:36 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn quadint(self, base: (), rounding: ()) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cfrac` [INFO] [stderr] --> src/cont_frac.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn cfrac(s: Subject) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `abs` [INFO] [stderr] --> src/property.rs:229:4 [INFO] [stderr] | [INFO] [stderr] 229 | fn abs() {} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `conj` [INFO] [stderr] --> src/property.rs:230:4 [INFO] [stderr] | [INFO] [stderr] 230 | fn conj() {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `arg` [INFO] [stderr] --> src/property.rs:231:4 [INFO] [stderr] | [INFO] [stderr] 231 | fn arg() {} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `suan-core` (lib) generated 20 warnings [INFO] [stderr] warning: `suan-core` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/suan_core-c26ab8ade7f1c7cc) [INFO] [stdout] [INFO] [stderr] Doc-tests suan-core [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4a354df7071d84b3b90031191a00de2ad9259643e285f1766a09b37d5248781e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a354df7071d84b3b90031191a00de2ad9259643e285f1766a09b37d5248781e", kill_on_drop: false }` [INFO] [stdout] 4a354df7071d84b3b90031191a00de2ad9259643e285f1766a09b37d5248781e