[INFO] fetching crate rar 0.2.0... [INFO] checking rar-0.2.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate rar 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rar 0.2.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rar 0.2.0 [INFO] finished tweaking crates.io crate rar 0.2.0 [INFO] tweaked toml for crates.io crate rar 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5af1d0548a0c1a978e5639824c231dfd3a09856aba9ea9dade6cd330f5da7722 [INFO] running `Command { std: "docker" "start" "-a" "5af1d0548a0c1a978e5639824c231dfd3a09856aba9ea9dade6cd330f5da7722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5af1d0548a0c1a978e5639824c231dfd3a09856aba9ea9dade6cd330f5da7722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af1d0548a0c1a978e5639824c231dfd3a09856aba9ea9dade6cd330f5da7722", kill_on_drop: false }` [INFO] [stdout] 5af1d0548a0c1a978e5639824c231dfd3a09856aba9ea9dade6cd330f5da7722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 297c3d59297c539d264d69cd65a7d0c38f57a4738fc2dbdb0672932f6300f718 [INFO] running `Command { std: "docker" "start" "-a" "297c3d59297c539d264d69cd65a7d0c38f57a4738fc2dbdb0672932f6300f718", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rar v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/sig_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sig_block.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] 18 + named!(rar_signature(&[u8]) -> SignatureBlock, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/head_block.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// get a base header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/head_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/head_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/head_block.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | named!(base_header(&[u8]) -> (HeadBlock), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - named!(base_header(&[u8]) -> (HeadBlock), [INFO] [stdout] 143 + named!(base_header(&[u8]) -> HeadBlock, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/archive_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/file_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/extra_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/end_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/rar_reader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/rar_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/extractor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vint.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// Collect all vint which have a hight bit [INFO] [stdout] 59 | | /// Failes if no bit is available or the array end's with a high bit [INFO] [stdout] | |_-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vint.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | /// Take one byte [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/vint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/vint.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | named!(collect_vint(&[u8]) -> (&[u8]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - named!(collect_vint(&[u8]) -> (&[u8]), [INFO] [stdout] 60 + named!(collect_vint(&[u8]) -> &[u8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/vint.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | named!(take_one(&[u8]) -> (&[u8]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - named!(take_one(&[u8]) -> (&[u8]), [INFO] [stdout] 74 + named!(take_one(&[u8]) -> &[u8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rar_reader.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | inner: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/sig_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/sig_block.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] 18 + named!(rar_signature(&[u8]) -> SignatureBlock, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/head_block.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// get a base header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/head_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/head_block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/head_block.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | named!(base_header(&[u8]) -> (HeadBlock), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - named!(base_header(&[u8]) -> (HeadBlock), [INFO] [stdout] 143 + named!(base_header(&[u8]) -> HeadBlock, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/archive_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/file_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/extra_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/end_block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/rar_reader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/rar_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/extractor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vint.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// Collect all vint which have a hight bit [INFO] [stdout] 59 | | /// Failes if no bit is available or the array end's with a high bit [INFO] [stdout] | |_-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vint.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | /// Take one byte [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/vint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/vint.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | named!(collect_vint(&[u8]) -> (&[u8]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - named!(collect_vint(&[u8]) -> (&[u8]), [INFO] [stdout] 60 + named!(collect_vint(&[u8]) -> &[u8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/vint.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | named!(take_one(&[u8]) -> (&[u8]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - named!(take_one(&[u8]) -> (&[u8]), [INFO] [stdout] 74 + named!(take_one(&[u8]) -> &[u8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/lib.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | static ref PHOTO: Vec = { read_file("assets/photo.jpg") }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 141 - static ref PHOTO: Vec = { read_file("assets/photo.jpg") }; [INFO] [stdout] 141 + static ref PHOTO: Vec = read_file("assets/photo.jpg"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/lib.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | static ref TEXT: Vec = { read_file("assets/text.txt") }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 146 - static ref TEXT: Vec = { read_file("assets/text.txt") }; [INFO] [stdout] 146 + static ref TEXT: Vec = read_file("assets/text.txt"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rar_reader.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | inner: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/extra_block.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | let t = NaiveDateTime::from_timestamp_opt(t as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/extra_block.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | let t = NaiveDateTime::from_timestamp_opt(t as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/extra_block.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | let t = NaiveDateTime::from_timestamp_opt(t as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/extra_block.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | let t = NaiveDateTime::from_timestamp_opt(t as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "297c3d59297c539d264d69cd65a7d0c38f57a4738fc2dbdb0672932f6300f718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297c3d59297c539d264d69cd65a7d0c38f57a4738fc2dbdb0672932f6300f718", kill_on_drop: false }` [INFO] [stdout] 297c3d59297c539d264d69cd65a7d0c38f57a4738fc2dbdb0672932f6300f718 [INFO] checking rar-0.2.0 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate rar 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rar 0.2.0 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rar 0.2.0 [INFO] finished tweaking crates.io crate rar 0.2.0 [INFO] tweaked toml for crates.io crate rar 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92b94922015137be8ff29f1990a2ada7dd22679cff9441a97a89dbca98f4d4c8 [INFO] running `Command { std: "docker" "start" "-a" "92b94922015137be8ff29f1990a2ada7dd22679cff9441a97a89dbca98f4d4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92b94922015137be8ff29f1990a2ada7dd22679cff9441a97a89dbca98f4d4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b94922015137be8ff29f1990a2ada7dd22679cff9441a97a89dbca98f4d4c8", kill_on_drop: false }` [INFO] [stdout] 92b94922015137be8ff29f1990a2ada7dd22679cff9441a97a89dbca98f4d4c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 387295f5aa0b7db39daaf657a2df1fa6d5a9d72ab3593201dea7da53d7a94f54 [INFO] running `Command { std: "docker" "start" "-a" "387295f5aa0b7db39daaf657a2df1fa6d5a9d72ab3593201dea7da53d7a94f54", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/miniz_oxide-0.7.2/src/inflate/core.rs:1196:9 [INFO] [stdout] | [INFO] [stdout] 1196 | / match state { [INFO] [stdout] 1197 | | Start => generate_state!(state, 'state_machine, { [INFO] [stdout] 1198 | | l.bit_buf = 0; [INFO] [stdout] 1199 | | l.num_bits = 0; [INFO] [stdout] ... | [INFO] [stdout] 1741 | | _ => break TINFLStatus::Failed, [INFO] [stdout] 1742 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniz_oxide` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "387295f5aa0b7db39daaf657a2df1fa6d5a9d72ab3593201dea7da53d7a94f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387295f5aa0b7db39daaf657a2df1fa6d5a9d72ab3593201dea7da53d7a94f54", kill_on_drop: false }` [INFO] [stdout] 387295f5aa0b7db39daaf657a2df1fa6d5a9d72ab3593201dea7da53d7a94f54