[INFO] fetching crate pqc_dilithium_edit 0.2.0... [INFO] checking pqc_dilithium_edit-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pqc_dilithium_edit 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pqc_dilithium_edit 0.2.0 [INFO] finished tweaking crates.io crate pqc_dilithium_edit 0.2.0 [INFO] tweaked toml for crates.io crate pqc_dilithium_edit 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pqc_dilithium_edit 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pqc_core v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eb4eb7f4a085184fe22fdca3743510ee6497f1359e12021a03c98c6df7fbfc4 [INFO] running `Command { std: "docker" "start" "-a" "3eb4eb7f4a085184fe22fdca3743510ee6497f1359e12021a03c98c6df7fbfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eb4eb7f4a085184fe22fdca3743510ee6497f1359e12021a03c98c6df7fbfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb4eb7f4a085184fe22fdca3743510ee6497f1359e12021a03c98c6df7fbfc4", kill_on_drop: false }` [INFO] [stdout] 3eb4eb7f4a085184fe22fdca3743510ee6497f1359e12021a03c98c6df7fbfc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a0059623004c3aeac9f3e7aae7efc9a9e2dddf93f079b4d9b553c33a729c39 [INFO] running `Command { std: "docker" "start" "-a" "15a0059623004c3aeac9f3e7aae7efc9a9e2dddf93f079b4d9b553c33a729c39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pqc_core v0.3.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pqc_dilithium_edit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dilithium_kat` [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(dilithium_kat)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dilithium_kat)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dilithium_kat)");` to the top of the `build.rs` [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 name: `dilithium_kat` [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(dilithium_kat)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dilithium_kat)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dilithium_kat)");` to the top of the `build.rs` [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] error[E0432]: unresolved import `pqc_dilithium` [INFO] [stdout] --> tests/integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pqc_dilithium::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pqc_dilithium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pqc_dilithium`, use `cargo add pqc_dilithium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dilithium_kat` [INFO] [stdout] --> tests/kat.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(all(dilithium_kat, not(feature = "random_signing")))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dilithium_kat)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dilithium_kat)");` to the top of the `build.rs` [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] error[E0432]: unresolved import `pqc_dilithium` [INFO] [stdout] --> benches/api.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pqc_dilithium::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pqc_dilithium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pqc_dilithium`, use `cargo add pqc_dilithium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pqc_dilithium_edit` (test "integration") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `api` [INFO] [stdout] --> benches/api.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | criterion_main!(benches); [INFO] [stdout] | ^ consider adding a `main` function to `benches/api.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pqc_dilithium_edit` (bench "api") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "15a0059623004c3aeac9f3e7aae7efc9a9e2dddf93f079b4d9b553c33a729c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a0059623004c3aeac9f3e7aae7efc9a9e2dddf93f079b4d9b553c33a729c39", kill_on_drop: false }` [INFO] [stdout] 15a0059623004c3aeac9f3e7aae7efc9a9e2dddf93f079b4d9b553c33a729c39