[INFO] fetching crate twilight 0.1.2... [INFO] checking twilight-0.1.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate twilight 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate twilight 0.1.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate twilight 0.1.2 [INFO] finished tweaking crates.io crate twilight 0.1.2 [INFO] tweaked toml for crates.io crate twilight 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f55dbdfee990e99c1a4178ac302197a92142c46e7a5782409d0fcffb9e7ad22 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f55dbdfee990e99c1a4178ac302197a92142c46e7a5782409d0fcffb9e7ad22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f55dbdfee990e99c1a4178ac302197a92142c46e7a5782409d0fcffb9e7ad22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f55dbdfee990e99c1a4178ac302197a92142c46e7a5782409d0fcffb9e7ad22", kill_on_drop: false }` [INFO] [stdout] 6f55dbdfee990e99c1a4178ac302197a92142c46e7a5782409d0fcffb9e7ad22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 95d850e8679a80807ef317ab4b8493f3ba178deee27d5432ed71a9dee12e81f3 [INFO] running `Command { std: "docker" "start" "-a" "95d850e8679a80807ef317ab4b8493f3ba178deee27d5432ed71a9dee12e81f3", kill_on_drop: false }` [INFO] [stderr] Checking twilight-util v0.1.3 [INFO] [stderr] Checking twilight v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking twilight-command-parser v0.1.3 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `miniz_oxide` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use miniz_oxide::deflate::core::CompressorOxide; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `miniz_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `miniz_oxide` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use miniz_oxide::inflate::stream::InflateState; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `miniz_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `miniz_oxide`, `crate::ffi::Backend`, `crate::ffi::Deflate`, `crate::ffi::DeflateBackend`, `crate::ffi::Inflate`, `crate::ffi::InflateBackend`, `miniz_oxide::deflate::core::CompressorOxide`, `miniz_oxide::inflate::stream::InflateState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/mem.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ffi::{self, Backend, Deflate, DeflateBackend, Inflate, InflateBackend}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use miniz_oxide::deflate::core::CompressorOxide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use miniz_oxide::inflate::stream::InflateState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub use miniz_oxide::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `miniz_oxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MZ_NO_FLUSH: isize = MZFlush::None as isize; [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MZ_PARTIAL_FLUSH: isize = MZFlush::Partial as isize; [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MZ_SYNC_FLUSH: isize = MZFlush::Sync as isize; [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MZ_FULL_FLUSH: isize = MZFlush::Full as isize; [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MZ_FINISH: isize = MZFlush::Finish as isize; [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataFormat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | DataFormat::Zlib [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataFormat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | DataFormat::Raw [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InflateState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | inner: InflateState::new_boxed(format), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InflateState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let flush = MZFlush::new(flush as i32).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `inflate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let res = inflate::stream::inflate(&mut self.inner, input, output, flush); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `inflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | MZStatus::Ok => Ok(Status::Ok), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | MZStatus::StreamEnd => Ok(Status::StreamEnd), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | MZStatus::NeedDict => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | MZError::Buf => Ok(Status::BufError), [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZFlush` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let flush = MZFlush::new(flush as i32).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZFlush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `deflate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let res = deflate::stream::deflate(&mut self.inner, input, output, flush); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `deflate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | MZStatus::Ok => Ok(Status::Ok), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | MZStatus::StreamEnd => Ok(Status::StreamEnd), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZStatus` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | MZStatus::NeedDict => Err(CompressError(())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MZStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MZError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | MZError::Buf => Ok(Status::BufError), [INFO] [stdout] | ^^^^^^^ use of undeclared type `MZError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DataFormat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn format_from_bool(zlib_header: bool) -> DataFormat { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InflateState` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Inflate { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 28 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompressorOxide` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Deflate { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 106 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompressorOxide` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/ffi/rust.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 121 | impl DeflateBackend for Deflate { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 131 | let mut inner: Box = Box::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MZ_DEFAULT_WINDOW_BITS` in module `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/mem.rs:191:59 [INFO] [stdout] | [INFO] [stdout] 191 | inner: Deflate::make(level, zlib_header, ffi::MZ_DEFAULT_WINDOW_BITS as u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MZ_DEFAULT_WINDOW_BITS` in module `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.19/src/mem.rs:337:52 [INFO] [stdout] | [INFO] [stdout] 337 | inner: Inflate::make(zlib_header, ffi::MZ_DEFAULT_WINDOW_BITS as u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flate2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "95d850e8679a80807ef317ab4b8493f3ba178deee27d5432ed71a9dee12e81f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d850e8679a80807ef317ab4b8493f3ba178deee27d5432ed71a9dee12e81f3", kill_on_drop: false }` [INFO] [stdout] 95d850e8679a80807ef317ab4b8493f3ba178deee27d5432ed71a9dee12e81f3