[INFO] fetching crate zkp-primefield 0.2.0... [INFO] testing zkp-primefield-0.2.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate zkp-primefield 0.2.0 into /workspace/builds/worker-70/source [INFO] validating manifest of crates.io crate zkp-primefield 0.2.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zkp-primefield 0.2.0 [INFO] finished tweaking crates.io crate zkp-primefield 0.2.0 [INFO] tweaked toml for crates.io crate zkp-primefield 0.2.0 written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate crates.io crate zkp-primefield 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad14673266ff3da74cc31286314a837079e272bf2e162bece6caa4d12ba1680e [INFO] running `Command { std: "docker" "start" "-a" "ad14673266ff3da74cc31286314a837079e272bf2e162bece6caa4d12ba1680e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad14673266ff3da74cc31286314a837079e272bf2e162bece6caa4d12ba1680e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad14673266ff3da74cc31286314a837079e272bf2e162bece6caa4d12ba1680e", kill_on_drop: false }` [INFO] [stdout] ad14673266ff3da74cc31286314a837079e272bf2e162bece6caa4d12ba1680e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01df92871e03526006ac0ab480b09129a8a9f9785809259ec82976ccd4c6ceec [INFO] running `Command { std: "docker" "start" "-a" "01df92871e03526006ac0ab480b09129a8a9f9785809259ec82976ccd4c6ceec", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling memadvise v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling zkp-macros-lib v0.2.0 [INFO] [stderr] Compiling zkp-macros-impl v0.2.0 [INFO] [stderr] Compiling zkp-macros-decl v0.2.0 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling parity-scale-codec v1.3.5 [INFO] [stderr] Compiling zkp-u256 v0.2.0 [INFO] [stderr] Compiling zkp-primefield v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0453]: warn(unsafe_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 6 | #![forbid(unsafe_code)] [INFO] [stdout] | ----------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 35 | unsafe_code, [INFO] [stdout] | ^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unsafe_code) incompatible with previous forbid [INFO] [stdout] --> src/fft/prefetch.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[allow(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #![forbid(unsafe_code)] [INFO] [stdout] | ----------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/fft/prefetch.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / unsafe { [INFO] [stdout] 51 | | #[allow(trivial_casts)] // False positive [INFO] [stdout] 52 | | let ptr = self as *const Self as *const i8; [INFO] [stdout] 53 | | _mm_prefetch(ptr, _MM_HINT_T0); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #![forbid(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0453]: allow(unsafe_code) incompatible with previous forbid [INFO] [stdout] --> src/fft/prefetch.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | #[allow(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #![forbid(unsafe_code)] [INFO] [stdout] | ----------- `forbid` level set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/fft/prefetch.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / unsafe { [INFO] [stdout] 96 | | #[allow(trivial_casts)] // False positive [INFO] [stdout] 97 | | let ptr = self.get_unchecked(index) as *const T as *const i8; [INFO] [stdout] 98 | | _mm_prefetch(ptr, _MM_HINT_T0); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/geometric_series.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | length: usize::max_value(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | deprecated_in_future, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0453`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkp-primefield` due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "01df92871e03526006ac0ab480b09129a8a9f9785809259ec82976ccd4c6ceec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01df92871e03526006ac0ab480b09129a8a9f9785809259ec82976ccd4c6ceec", kill_on_drop: false }` [INFO] [stdout] 01df92871e03526006ac0ab480b09129a8a9f9785809259ec82976ccd4c6ceec