[INFO] fetching crate rar 0.2.0... [INFO] checking rar-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rar 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rar 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 507759be6d5c3f0ccc58f56e2aaf43c7874b9077e2859c05d51bad123a8f4ab6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "507759be6d5c3f0ccc58f56e2aaf43c7874b9077e2859c05d51bad123a8f4ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "507759be6d5c3f0ccc58f56e2aaf43c7874b9077e2859c05d51bad123a8f4ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507759be6d5c3f0ccc58f56e2aaf43c7874b9077e2859c05d51bad123a8f4ab6", kill_on_drop: false }` [INFO] [stdout] 507759be6d5c3f0ccc58f56e2aaf43c7874b9077e2859c05d51bad123a8f4ab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39fcb47f286f7e8fbb27fd94b746292cb255e28a5051b556b116b63435b9909c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39fcb47f286f7e8fbb27fd94b746292cb255e28a5051b556b116b63435b9909c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rar v0.2.0 (/opt/rustwide/workdir) [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: 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/sig_block.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^ help: remove these parentheses [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 issue #80165 [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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: 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/sig_block.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | named!(rar_signature(&[u8]) -> (SignatureBlock), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^ help: remove these parentheses [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 issue #80165 [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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 34.67s [INFO] running `Command { std: "docker" "inspect" "39fcb47f286f7e8fbb27fd94b746292cb255e28a5051b556b116b63435b9909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39fcb47f286f7e8fbb27fd94b746292cb255e28a5051b556b116b63435b9909c", kill_on_drop: false }` [INFO] [stdout] 39fcb47f286f7e8fbb27fd94b746292cb255e28a5051b556b116b63435b9909c