[INFO] fetching crate zx0 1.0.0... [INFO] building zx0-1.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate zx0 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate zx0 1.0.0 [INFO] finished tweaking crates.io crate zx0 1.0.0 [INFO] tweaked toml for crates.io crate zx0 1.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zx0 1.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zx0 1.0.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7754b51b6b87e93d17aa03c4630cd0d53109dd3e879ed5eb01a1c2715ad586ce [INFO] running `Command { std: "docker" "start" "-a" "7754b51b6b87e93d17aa03c4630cd0d53109dd3e879ed5eb01a1c2715ad586ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7754b51b6b87e93d17aa03c4630cd0d53109dd3e879ed5eb01a1c2715ad586ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7754b51b6b87e93d17aa03c4630cd0d53109dd3e879ed5eb01a1c2715ad586ce", kill_on_drop: false }` [INFO] [stdout] 7754b51b6b87e93d17aa03c4630cd0d53109dd3e879ed5eb01a1c2715ad586ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57c58e26ae859845b9939f3c1737c8f3b78c1e3c11c328651066a573b880ba5d [INFO] running `Command { std: "docker" "start" "-a" "57c58e26ae859845b9939f3c1737c8f3b78c1e3c11c328651066a573b880ba5d", kill_on_drop: false }` [INFO] [stderr] Compiling zx0 v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "57c58e26ae859845b9939f3c1737c8f3b78c1e3c11c328651066a573b880ba5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c58e26ae859845b9939f3c1737c8f3b78c1e3c11c328651066a573b880ba5d", kill_on_drop: false }` [INFO] [stdout] 57c58e26ae859845b9939f3c1737c8f3b78c1e3c11c328651066a573b880ba5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d444cae9288e42ca91ed32be927eb0d2ff65674c5bd5596d10dc64a132b08c [INFO] running `Command { std: "docker" "start" "-a" "23d444cae9288e42ca91ed32be927eb0d2ff65674c5bd5596d10dc64a132b08c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zx0 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> examples/fuzzer.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let reference = reference::Compressor::new().compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use zx0::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let reference = reference::Compressor::new().compress(&input); [INFO] [stdout] 12 + let reference = Compressor::new().compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> examples/benchmark.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | benchmark(|| reference::Compressor::new().compress(&input)); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use zx0::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - benchmark(|| reference::Compressor::new().compress(&input)); [INFO] [stdout] 32 + benchmark(|| Compressor::new().compress(&input)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zx0` (example "fuzzer") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> examples/benchmark.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { reference::reset() }; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zx0` (example "benchmark") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let reference = reference::Compressor::new().compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let reference = reference::Compressor::new().compress(&input); [INFO] [stdout] 64 + let reference = Compressor::new().compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let reference = reference::Compressor::new().skip(skip).compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - let reference = reference::Compressor::new().skip(skip).compress(&input); [INFO] [stdout] 77 + let reference = Compressor::new().skip(skip).compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let reference = reference::Compressor::new().backwards_mode(true).compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 91 - let reference = reference::Compressor::new().backwards_mode(true).compress(&input); [INFO] [stdout] 91 + let reference = Compressor::new().backwards_mode(true).compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let reference = reference::Compressor::new().backwards_mode(true).skip(skip).compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - let reference = reference::Compressor::new().backwards_mode(true).skip(skip).compress(&input); [INFO] [stdout] 106 + let reference = Compressor::new().backwards_mode(true).skip(skip).compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let reference = reference::Compressor::new().quick_mode(true).compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - let reference = reference::Compressor::new().quick_mode(true).compress(&input); [INFO] [stdout] 120 + let reference = Compressor::new().quick_mode(true).compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let reference = reference::Compressor::new().classic_mode(true).compress(&input); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 58 + use crate::Compressor; [INFO] [stdout] | [INFO] [stdout] help: if you import `Compressor`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - let reference = reference::Compressor::new().classic_mode(true).compress(&input); [INFO] [stdout] 133 + let reference = Compressor::new().classic_mode(true).compress(&input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { reference::reset(); } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { reference::reset(); } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { reference::reset(); } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { reference::reset(); } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reference` [INFO] [stdout] --> src/lib.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | unsafe { reference::reset(); } [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `reference` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reference`, use `cargo add reference` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zx0` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "23d444cae9288e42ca91ed32be927eb0d2ff65674c5bd5596d10dc64a132b08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d444cae9288e42ca91ed32be927eb0d2ff65674c5bd5596d10dc64a132b08c", kill_on_drop: false }` [INFO] [stdout] 23d444cae9288e42ca91ed32be927eb0d2ff65674c5bd5596d10dc64a132b08c