[INFO] fetching crate archivelib 0.2.0... [INFO] checking archivelib-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate archivelib 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate archivelib 0.2.0 [INFO] finished tweaking crates.io crate archivelib 0.2.0 [INFO] tweaked toml for crates.io crate archivelib 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate archivelib 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] crate crates.io crate archivelib 0.2.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] [stderr] Downloaded humthreads v0.1.4 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded archivelib-sys v0.2.0 [INFO] [stderr] Downloaded bindgen v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8c2c6acf3dfa047a4f086d42edfb17ba4bde11795e0d722f0e70580b503fd5c6 [INFO] running `Command { std: "docker" "start" "-a" "8c2c6acf3dfa047a4f086d42edfb17ba4bde11795e0d722f0e70580b503fd5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c2c6acf3dfa047a4f086d42edfb17ba4bde11795e0d722f0e70580b503fd5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2c6acf3dfa047a4f086d42edfb17ba4bde11795e0d722f0e70580b503fd5c6", kill_on_drop: false }` [INFO] [stdout] 8c2c6acf3dfa047a4f086d42edfb17ba4bde11795e0d722f0e70580b503fd5c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e67677a98c58cda611f3af4a5c2d14717a4f7b333fe769080f7c169fb1be2785 [INFO] running `Command { std: "docker" "start" "-a" "e67677a98c58cda611f3af4a5c2d14717a4f7b333fe769080f7c169fb1be2785", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking archivelib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | implBitwise!(u8); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | implBitwise!(u16); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | implBitwise!(u32); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | implBitwise!(u64); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | implBitwise!(u128); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | implBitwise!(usize); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LookAheadBitwiseRead` and `LookAheadBitwiseReader` [INFO] [stdout] --> src/support/lah_reader/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::base::{LookAheadBitwiseRead, LookAheadBitwiseReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryTreeInvariantError` [INFO] [stdout] --> src/expand_new/expand.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::errors::{BinaryTreeInvariantError, DecompressError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[s + max_size279] = self.uncompressed_buffer[(s)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[s] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/fn230.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] 35 + lookup_table288[i + 1] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/consts.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] 10 + pub const CONST_N145_IS_19: usize = u16::max_value().count_ones() as usize + 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/compress/array_alias.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ArrayAlias

{ [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn apply(&mut self, parent: &mut P, index: usize, apply: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling archivelib-sys v0.2.0 [INFO] [stdout] error[E0412]: cannot find type `AllocatedMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/archivelib-sys-0.2.0/src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl AllocatedMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clean` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/archivelib-sys-0.2.0/src/lib.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { clean(&mut self) }; [INFO] [stdout] | ^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `clean` as a method: `self.clean()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/archivelib-sys-0.2.0/src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { compress(ptr, length, compression_level) } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decompress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/archivelib-sys-0.2.0/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn do_compress(input: &[u8]) -> Result, std::string::String> { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `do_compress` defined here [INFO] [stdout] ... [INFO] [stdout] 67 | unsafe { decompress(ptr, length, compression_level) } [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `do_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `archivelib-sys` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e67677a98c58cda611f3af4a5c2d14717a4f7b333fe769080f7c169fb1be2785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67677a98c58cda611f3af4a5c2d14717a4f7b333fe769080f7c169fb1be2785", kill_on_drop: false }` [INFO] [stdout] e67677a98c58cda611f3af4a5c2d14717a4f7b333fe769080f7c169fb1be2785