[INFO] fetching crate brotli-decompressor 2.3.1... [INFO] checking brotli-decompressor-2.3.1 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate brotli-decompressor 2.3.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate brotli-decompressor 2.3.1 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate brotli-decompressor 2.3.1 [INFO] finished tweaking crates.io crate brotli-decompressor 2.3.1 [INFO] tweaked toml for crates.io crate brotli-decompressor 2.3.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate brotli-decompressor 2.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692baa14915cf96b9b4eed0779a3c8b72bb26259d5a13ccbcc975e28ab75536d [INFO] running `Command { std: "docker" "start" "-a" "692baa14915cf96b9b4eed0779a3c8b72bb26259d5a13ccbcc975e28ab75536d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692baa14915cf96b9b4eed0779a3c8b72bb26259d5a13ccbcc975e28ab75536d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692baa14915cf96b9b4eed0779a3c8b72bb26259d5a13ccbcc975e28ab75536d", kill_on_drop: false }` [INFO] [stdout] 692baa14915cf96b9b4eed0779a3c8b72bb26259d5a13ccbcc975e28ab75536d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ffff578951eba485d308c9a53f192e20ffb7060ca1ea1109b6c4d18c28d435d [INFO] running `Command { std: "docker" "start" "-a" "3ffff578951eba485d308c9a53f192e20ffb7060ca1ea1109b6c4d18c28d435d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking brotli-decompressor v2.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi/mod.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | type BrotliAdditionalErrorData = boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn any::Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/test.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stack_u8_buffer = define_allocator_memory_pool!(4096, u8, [0; 300 * 1024], stack); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_allocator_memory_pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/test.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut stack_u32_buffer = define_allocator_memory_pool!(4096, u32, [0; 12 * 1024], stack); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_allocator_memory_pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/test.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let mut stack_hc_buffer = define_allocator_memory_pool!(4096, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 24 | | super::HuffmanCode, [INFO] [stdout] 25 | | [HuffmanCode::default(); 18 * 1024], [INFO] [stdout] 26 | | stack); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_allocator_memory_pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 329 | #[repr(C)] [INFO] [stdout] 330 | / pub struct BrotliDecoderReturnInfo { [INFO] [stdout] 331 | | pub decoded_size: usize, [INFO] [stdout] 332 | | pub error_string: [u8;256], [INFO] [stdout] 333 | | pub error_code: state::BrotliDecoderErrorCode, [INFO] [stdout] 334 | | pub result: BrotliResult, [INFO] [stdout] 335 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/huffman/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | #[derive(PartialEq, Copy, Clone, Debug)] [INFO] [stdout] 31 | / pub struct HuffmanCode { [INFO] [stdout] 32 | | pub value: u16, // symbol value or table offset [INFO] [stdout] 33 | | pub bits: u8, // number of bits used for this symbol [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/state.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | / pub enum BrotliDecoderErrorCode{ [INFO] [stdout] 24 | | BROTLI_DECODER_NO_ERROR = 0, [INFO] [stdout] 25 | | /* Same as BrotliDecoderResult values */ [INFO] [stdout] 26 | | BROTLI_DECODER_SUCCESS = 1, [INFO] [stdout] ... | [INFO] [stdout] 65 | | BROTLI_DECODER_ERROR_UNREACHABLE = -31, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/decode.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] 36 | / pub enum BrotliResult { [INFO] [stdout] 37 | | ResultSuccess = 1, [INFO] [stdout] 38 | | NeedsMoreInput = 2, [INFO] [stdout] 39 | | NeedsMoreOutput = 3, [INFO] [stdout] 40 | | ResultFailure = 0, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------------------------------------------------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ----- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | -- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ----- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | --- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | / pub struct BrotliDecoderState { [INFO] [stdout] 44 | | pub custom_allocator: CAllocator, [INFO] [stdout] 45 | | pub decompressor: ::BrotliState, [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | / pub enum BrotliDecoderParameter { [INFO] [stdout] 12 | | BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION = 0, [INFO] [stdout] 13 | | BROTLI_DECODER_PARAM_LARGE_WINDOW = 1, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | / pub enum BrotliDecoderResult { [INFO] [stdout] 20 | | BROTLI_DECODER_RESULT_ERROR = 0, [INFO] [stdout] 21 | | BROTLI_DECODER_RESULT_SUCCESS = 1, [INFO] [stdout] 22 | | BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT = 2, [INFO] [stdout] 23 | | BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT = 3, [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub type brotli_alloc_func = Option *mut c_void>; [INFO] [stdout] | -------------------------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub type brotli_free_func = Option ()>; [INFO] [stdout] | --------------------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] 47 | / pub struct CAllocator { [INFO] [stdout] 48 | | pub alloc_func: brotli_alloc_func, [INFO] [stdout] 49 | | pub free_func: brotli_free_func, [INFO] [stdout] 50 | | pub opaque: *mut c_void, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi/mod.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | type BrotliAdditionalErrorData = boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn any::Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 329 | #[repr(C)] [INFO] [stdout] 330 | / pub struct BrotliDecoderReturnInfo { [INFO] [stdout] 331 | | pub decoded_size: usize, [INFO] [stdout] 332 | | pub error_string: [u8;256], [INFO] [stdout] 333 | | pub error_code: state::BrotliDecoderErrorCode, [INFO] [stdout] 334 | | pub result: BrotliResult, [INFO] [stdout] 335 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/huffman/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | #[derive(PartialEq, Copy, Clone, Debug)] [INFO] [stdout] 31 | / pub struct HuffmanCode { [INFO] [stdout] 32 | | pub value: u16, // symbol value or table offset [INFO] [stdout] 33 | | pub bits: u8, // number of bits used for this symbol [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/state.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | / pub enum BrotliDecoderErrorCode{ [INFO] [stdout] 24 | | BROTLI_DECODER_NO_ERROR = 0, [INFO] [stdout] 25 | | /* Same as BrotliDecoderResult values */ [INFO] [stdout] 26 | | BROTLI_DECODER_SUCCESS = 1, [INFO] [stdout] ... | [INFO] [stdout] 65 | | BROTLI_DECODER_ERROR_UNREACHABLE = -31, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/decode.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] 36 | / pub enum BrotliResult { [INFO] [stdout] 37 | | ResultSuccess = 1, [INFO] [stdout] 38 | | NeedsMoreInput = 2, [INFO] [stdout] 39 | | NeedsMoreOutput = 3, [INFO] [stdout] 40 | | ResultFailure = 0, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------------------------------------------------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ----- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | -- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ----- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | --- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | #[cfg(feature="std")] [INFO] [stdout] 5 | use std::{thread,panic, io, boxed, any, string}; [INFO] [stdout] | ------ not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | / pub struct BrotliDecoderState { [INFO] [stdout] 44 | | pub custom_allocator: CAllocator, [INFO] [stdout] 45 | | pub decompressor: ::BrotliState, [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | / pub enum BrotliDecoderParameter { [INFO] [stdout] 12 | | BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION = 0, [INFO] [stdout] 13 | | BROTLI_DECODER_PARAM_LARGE_WINDOW = 1, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | / pub enum BrotliDecoderResult { [INFO] [stdout] 20 | | BROTLI_DECODER_RESULT_ERROR = 0, [INFO] [stdout] 21 | | BROTLI_DECODER_RESULT_SUCCESS = 1, [INFO] [stdout] 22 | | BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT = 2, [INFO] [stdout] 23 | | BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT = 3, [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub type brotli_alloc_func = Option *mut c_void>; [INFO] [stdout] | -------------------------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub type brotli_free_func = Option ()>; [INFO] [stdout] | --------------------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi/interface.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | #[derive(Clone)] [INFO] [stdout] 47 | / pub struct CAllocator { [INFO] [stdout] 48 | | pub alloc_func: brotli_alloc_func, [INFO] [stdout] 49 | | pub free_func: brotli_free_func, [INFO] [stdout] 50 | | pub opaque: *mut c_void, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/huffman/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / core::mem::replace(&mut self.htrees, [INFO] [stdout] 70 | | alloc_u32.alloc_cell(nt)); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/huffman/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / core::mem::replace(&mut self.codes, [INFO] [stdout] 72 | | alloc_hc.alloc_cell(nt * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize)); [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1199:5 [INFO] [stdout] | [INFO] [stdout] 1199 | / mem::replace(&mut s.literal_hgroup.codes, [INFO] [stdout] 1200 | | mem::replace(&mut hcodes, AllocHC::AllocatedMemory::default())); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | / mem::replace(&mut s.literal_hgroup.htrees, [INFO] [stdout] 1202 | | mem::replace(&mut htrees, AllocU32::AllocatedMemory::default())); [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1204:5 [INFO] [stdout] | [INFO] [stdout] 1204 | / mem::replace(&mut s.insert_copy_hgroup.codes, [INFO] [stdout] 1205 | | mem::replace(&mut hcodes, AllocHC::AllocatedMemory::default())); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1206:5 [INFO] [stdout] | [INFO] [stdout] 1206 | / mem::replace(&mut s.insert_copy_hgroup.htrees, [INFO] [stdout] 1207 | | mem::replace(&mut htrees, AllocU32::AllocatedMemory::default())); [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | / mem::replace(&mut s.distance_hgroup.codes, [INFO] [stdout] 1210 | | mem::replace(&mut hcodes, AllocHC::AllocatedMemory::default())); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | / mem::replace(&mut s.distance_hgroup.htrees, [INFO] [stdout] 1212 | | mem::replace(&mut htrees, AllocU32::AllocatedMemory::default())); [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | / mem::replace(&mut s.context_map_table, [INFO] [stdout] 1337 | | mem::replace(&mut local_context_map_table, [INFO] [stdout] 1338 | | AllocHC::AllocatedMemory::default())); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1456:5 [INFO] [stdout] | [INFO] [stdout] 1456 | / mem::replace(&mut s.dist_context_map, [INFO] [stdout] 1457 | | mem::replace(&mut context_map_arg, AllocU8::AllocatedMemory::default())); [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:1460:5 [INFO] [stdout] | [INFO] [stdout] 1460 | / mem::replace(&mut s.context_map, [INFO] [stdout] 1461 | | mem::replace(&mut context_map_arg, AllocU8::AllocatedMemory::default())); [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:2596:3 [INFO] [stdout] | [INFO] [stdout] 2596 | / core::mem::replace(&mut s.literal_hgroup, [INFO] [stdout] 2597 | | core::mem::replace(&mut saved_literal_hgroup, [INFO] [stdout] 2598 | | HuffmanTreeGroup::::default())); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:2600:3 [INFO] [stdout] | [INFO] [stdout] 2600 | / core::mem::replace(&mut s.distance_hgroup, [INFO] [stdout] 2601 | | core::mem::replace(&mut saved_distance_hgroup, [INFO] [stdout] 2602 | | HuffmanTreeGroup::::default())); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:2604:3 [INFO] [stdout] | [INFO] [stdout] 2604 | / core::mem::replace(&mut s.insert_copy_hgroup, [INFO] [stdout] 2605 | | core::mem::replace(&mut saved_insert_copy_hgroup, [INFO] [stdout] 2606 | | HuffmanTreeGroup::::default())); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:2945:11 [INFO] [stdout] | [INFO] [stdout] 2945 | / mem::replace(&mut s.block_type_length_state.block_type_trees, [INFO] [stdout] 2946 | | new_huffman_table); [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/decode.rs:2964:11 [INFO] [stdout] | [INFO] [stdout] 2964 | / mem::replace(&mut s.block_type_length_state.block_len_trees, [INFO] [stdout] 2965 | | new_huffman_table); [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brotli-decompressor` [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" "3ffff578951eba485d308c9a53f192e20ffb7060ca1ea1109b6c4d18c28d435d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ffff578951eba485d308c9a53f192e20ffb7060ca1ea1109b6c4d18c28d435d", kill_on_drop: false }` [INFO] [stdout] 3ffff578951eba485d308c9a53f192e20ffb7060ca1ea1109b6c4d18c28d435d