[INFO] cloning repository https://github.com/dbsc/psc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbsc/psc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbsc%2Fpsc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbsc%2Fpsc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11492ad973e4592310eb0105207ff0920b110776 [INFO] checking dbsc/psc against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbsc%2Fpsc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbsc/psc on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dbsc/psc [INFO] finished tweaking git repo https://github.com/dbsc/psc [INFO] tweaked toml for git repo https://github.com/dbsc/psc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dbsc/psc 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" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f1fe6818903cbf770ec63c09349cc2247263000fe6ac35ed3eb2dbcbd30c253 [INFO] running `Command { std: "docker" "start" "-a" "9f1fe6818903cbf770ec63c09349cc2247263000fe6ac35ed3eb2dbcbd30c253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1fe6818903cbf770ec63c09349cc2247263000fe6ac35ed3eb2dbcbd30c253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1fe6818903cbf770ec63c09349cc2247263000fe6ac35ed3eb2dbcbd30c253", kill_on_drop: false }` [INFO] [stdout] 9f1fe6818903cbf770ec63c09349cc2247263000fe6ac35ed3eb2dbcbd30c253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d35bb167eea9ff68d064d16d7200c33486c9396748e69e36dcab0aa94453504 [INFO] running `Command { std: "docker" "start" "-a" "8d35bb167eea9ff68d064d16d7200c33486c9396748e69e36dcab0aa94453504", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking psc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `functions` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod functions; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `functions`, create file "src/functions.rs" or "src/functions/mod.rs" [INFO] [stdout] = note: if there is a `mod functions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `functions` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod functions; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `functions`, create file "src/functions.rs" or "src/functions/mod.rs" [INFO] [stdout] = note: if there is a `mod functions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(target_arch = "x86_64", feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(all(target_arch = "x86_64", feature = "asm")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(all(target_arch = "x86_64", feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(all(target_arch = "x86_64", feature = "asm")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mac_with_carry` [INFO] [stdout] --> src/biginteger/arithmetic.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | macro_rules! mac_with_carry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mac` [INFO] [stdout] --> src/biginteger/arithmetic.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | macro_rules! mac { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `biginteger::{ [INFO] [stdout] [INFO] [stdout] }` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use biginteger::{ [INFO] [stdout] | _________^ [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | }; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(target_arch = "x86_64", feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(all(target_arch = "x86_64", feature = "asm")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(all(target_arch = "x86_64", feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/biginteger/arithmetic.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(all(target_arch = "x86_64", feature = "asm")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mac_with_carry` [INFO] [stdout] --> src/biginteger/arithmetic.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | macro_rules! mac_with_carry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mac` [INFO] [stdout] --> src/biginteger/arithmetic.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | macro_rules! mac { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `biginteger::{ [INFO] [stdout] [INFO] [stdout] }` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use biginteger::{ [INFO] [stdout] | _________^ [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | }; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/biginteger/mod.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 691 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 692 | let mut j = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/biginteger/mod.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 691 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 692 | let mut j = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/biginteger/mod.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 720 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 721 | res.extend_from_slice(&limb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:363:36 [INFO] [stdout] | [INFO] [stdout] 363 | const fn const_mul2_with_carry(mut self) -> (Self, bool) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | fn muln(&mut self, mut n: u32) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/biginteger/mod.rs:565:24 [INFO] [stdout] | [INFO] [stdout] 565 | fn mul_high(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/biginteger/mod.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | let t2 = self.0[i] << 63; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | let mut t = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | fn divn(&mut self, mut n: u32) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/biginteger/mod.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | fn from_bits_le(bits: &[bool]) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | let mut res = Self::zero(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `psc` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limb` [INFO] [stdout] --> src/biginteger/mod.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | let limb = self.0[i].to_le_bytes(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_limb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:713:13 [INFO] [stdout] | [INFO] [stdout] 713 | let mut res = Vec::with_capacity(N * 8); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biginteger/mod.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psc` (lib test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d35bb167eea9ff68d064d16d7200c33486c9396748e69e36dcab0aa94453504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d35bb167eea9ff68d064d16d7200c33486c9396748e69e36dcab0aa94453504", kill_on_drop: false }` [INFO] [stdout] 8d35bb167eea9ff68d064d16d7200c33486c9396748e69e36dcab0aa94453504