[INFO] cloning repository https://github.com/howardwu/semiprimes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/howardwu/semiprimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowardwu%2Fsemiprimes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowardwu%2Fsemiprimes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ab52d7ddf4ce8bb074789746e663e99db8a9dcf [INFO] checking howardwu/semiprimes against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhowardwu%2Fsemiprimes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/howardwu/semiprimes [INFO] finished tweaking git repo https://github.com/howardwu/semiprimes [INFO] tweaked toml for git repo https://github.com/howardwu/semiprimes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/howardwu/semiprimes on toolchain 09a371361240e42b0d69438fd1179efcf212e576 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/howardwu/semiprimes 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" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3 [INFO] running `Command { std: "docker" "start" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking semiprimes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated trait `rand::Rand`: replaced by distributions::Standard [INFO] [stdout] --> src/biginteger.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | impl ::rand::Rand for BigInteger { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `rand::Rand`: replaced by distributions::Standard [INFO] [stdout] --> src/field.rs:3692:14 [INFO] [stdout] | [INFO] [stdout] 3692 | impl ::rand::Rand for Fp { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `rand::Rand`: replaced by distributions::Standard [INFO] [stdout] --> src/tests.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/field.rs:3679:5 [INFO] [stdout] | [INFO] [stdout] 3679 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `rand::Rand`: replaced by distributions::Standard [INFO] [stdout] --> src/biginteger.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | impl ::rand::Rand for BigInteger { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `rand::Rand`: replaced by distributions::Standard [INFO] [stdout] --> src/field.rs:3692:14 [INFO] [stdout] | [INFO] [stdout] 3692 | impl ::rand::Rand for Fp { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/field.rs:3679:5 [INFO] [stdout] | [INFO] [stdout] 3679 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/field.rs:3696:42 [INFO] [stdout] | [INFO] [stdout] 3696 | let mut tmp = Fp(BigInteger::rand(rng)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/tests.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | let a: BigInteger = BigInteger::rand(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/tests.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | let b: BigInteger = BigInteger::rand(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/tests.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let a: Fp = Fp::rand(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/tests.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let b: Fp = Fp::rand(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rand::Rand::rand`: replaced by distributions::Standard [INFO] [stdout] --> src/field.rs:3696:42 [INFO] [stdout] | [INFO] [stdout] 3696 | let mut tmp = Fp(BigInteger::rand(rng)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3", kill_on_drop: false }` [INFO] [stdout] 5a69cce2b33d9c3489496f66328940057a603c462c790bcfec1c30b5673a28d3