[INFO] fetching crate rar 0.2.0... [INFO] checking rar-0.2.0 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate rar 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rar 0.2.0 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842ea0b676b143156e2f0fef77d6a96fc31ec25c0dc190e4db3d737f98b9e8d2 [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" "842ea0b676b143156e2f0fef77d6a96fc31ec25c0dc190e4db3d737f98b9e8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842ea0b676b143156e2f0fef77d6a96fc31ec25c0dc190e4db3d737f98b9e8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842ea0b676b143156e2f0fef77d6a96fc31ec25c0dc190e4db3d737f98b9e8d2", kill_on_drop: false }` [INFO] [stdout] 842ea0b676b143156e2f0fef77d6a96fc31ec25c0dc190e4db3d737f98b9e8d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88529a883407b83497ee7d54491382abdbee28d845d3d5cb0ef19f4f6da79b59 [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" "88529a883407b83497ee7d54491382abdbee28d845d3d5cb0ef19f4f6da79b59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rand v0.3.23 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | /// Failes if no bit is available or the array end's with a high bit [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | /// Failes if no bit is available or the array end's with a high bit [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] [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.95s [INFO] running `Command { std: "docker" "inspect" "88529a883407b83497ee7d54491382abdbee28d845d3d5cb0ef19f4f6da79b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88529a883407b83497ee7d54491382abdbee28d845d3d5cb0ef19f4f6da79b59", kill_on_drop: false }` [INFO] [stdout] 88529a883407b83497ee7d54491382abdbee28d845d3d5cb0ef19f4f6da79b59