[INFO] fetching crate rar 0.2.0... [INFO] checking rar-0.2.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate rar 0.2.0 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate rar 0.2.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-37/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51440a77b95931a4c4e2e181049277905c30d8307d302d6c1d5acbcf50b959ad [INFO] running `Command { std: "docker" "start" "-a" "51440a77b95931a4c4e2e181049277905c30d8307d302d6c1d5acbcf50b959ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51440a77b95931a4c4e2e181049277905c30d8307d302d6c1d5acbcf50b959ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51440a77b95931a4c4e2e181049277905c30d8307d302d6c1d5acbcf50b959ad", kill_on_drop: false }` [INFO] [stdout] 51440a77b95931a4c4e2e181049277905c30d8307d302d6c1d5acbcf50b959ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d8ef879d43959cf26e7fc4ee294583e0df17effa8d85c267fda30c90899471 [INFO] running `Command { std: "docker" "start" "-a" "b6d8ef879d43959cf26e7fc4ee294583e0df17effa8d85c267fda30c90899471", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rar v0.2.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_doc_comments)]` on by default [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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn BufRead + 'a` [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 [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: 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 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] = note: `#[warn(unused_doc_comments)]` on by default [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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn BufRead + 'a` [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 [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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.12s [INFO] running `Command { std: "docker" "inspect" "b6d8ef879d43959cf26e7fc4ee294583e0df17effa8d85c267fda30c90899471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d8ef879d43959cf26e7fc4ee294583e0df17effa8d85c267fda30c90899471", kill_on_drop: false }` [INFO] [stdout] b6d8ef879d43959cf26e7fc4ee294583e0df17effa8d85c267fda30c90899471