[INFO] fetching crate uncbv 0.2.4... [INFO] checking uncbv-0.2.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate uncbv 0.2.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate uncbv 0.2.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uncbv 0.2.4 [INFO] finished tweaking crates.io crate uncbv 0.2.4 [INFO] tweaked toml for crates.io crate uncbv 0.2.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding bitreader v0.1.0 (latest: v0.3.8) [INFO] [stderr] Adding des v0.0.4 (latest: v0.8.1) [INFO] [stderr] Adding docopt v0.6.86 (latest: v1.1.1) [INFO] [stderr] Adding fs2 v0.2.5 (latest: v0.4.3) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding memmap v0.4.0 (latest: v0.7.0) [INFO] [stderr] Adding nom v2.2.1 (latest: v7.1.3) [INFO] [stderr] Adding num_cpus v0.2.13 (latest: v1.16.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 rayon v0.4.2 (latest: v1.10.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.5.2 (latest: v0.11.0) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding walkdir v0.1.8 (latest: v2.5.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded des v0.0.4 [INFO] [stderr] Downloaded deque v0.3.2 [INFO] [stderr] Downloaded rayon v0.4.2 [INFO] [stderr] Downloaded bitreader v0.1.0 [INFO] [stderr] Downloaded huffman v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4c87e40d092a8b967e5653340b7608df71a92d93125685b771ff70cc61d49aa [INFO] running `Command { std: "docker" "start" "-a" "c4c87e40d092a8b967e5653340b7608df71a92d93125685b771ff70cc61d49aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4c87e40d092a8b967e5653340b7608df71a92d93125685b771ff70cc61d49aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c87e40d092a8b967e5653340b7608df71a92d93125685b771ff70cc61d49aa", kill_on_drop: false }` [INFO] [stdout] c4c87e40d092a8b967e5653340b7608df71a92d93125685b771ff70cc61d49aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a151d5abbd6d7ff6b338f544b0844520f749a56013220e7f43dc8e4a2ff2ebfe [INFO] running `Command { std: "docker" "start" "-a" "a151d5abbd6d7ff6b338f544b0844520f749a56013220e7f43dc8e4a2ff2ebfe", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking bitreader v0.1.0 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking huffman v0.0.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking rayon v0.4.2 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking des v0.0.4 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking uncbv v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | try!(create_dir_all(output_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/archive.rs:107:88 [INFO] [stdout] | [INFO] [stdout] 107 | let output_file = output_file_path.into_os_string().into_string().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | let file = try!(Mmap::open_path(filename, Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | try!(init_output(&file_list, output_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(file.read(&mut buffer[..HEADER_SIZE])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | try!(decrypt(buffer.as_ref(), &password, &mut cbv_output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(file.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(decrypt(buffer.as_slice(), &password, &mut cbv_output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | try!(create_dir_all(output_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | let file = try!(Mmap::open_path(filename, Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | try!(create_dir_all(directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `des` is imported redundantly [INFO] [stdout] --> src/decrypt.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use des; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate des; [INFO] [stdout] | ----------------- the item `des` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decrypt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(output.write_all(&result[..byte_count])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cbv.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// Parse a compressed block. [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: unused doc comment [INFO] [stdout] --> src/cbv.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | /// Parse the compression flag. [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/cbv.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | /// Extract, decode and decompress a block. [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/cbv.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Extract a file from the archive. [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/cbv.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | /// Extract the files from the archive. [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/cbv.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | /// Parse only the filenames from the archive. [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/cbv.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | /// Parse a null-terminated String as a filename. [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/cbv.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | /// Parse the file list. [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/cbv.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | /// Parse the file metadata (name and sizes). [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/cbv.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | /// Parse a CBV file 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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cbv.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | /// Decode a huffman-encoded block. [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/cbv.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | /// Decode a huffman tree. [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 `huffman` is imported redundantly [INFO] [stdout] --> src/cbv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use huffman; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate huffman; [INFO] [stdout] | --------------------- the item `huffman` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / named_args!(block<'a>(file: &FileMetaData, output_dir: &str) <()>, [INFO] [stdout] 93 | | chain! [INFO] [stdout] 94 | | ( block_size: le_u16 [INFO] [stdout] 95 | | ~ le_u16 // NOTE: unknown bytes. [INFO] [stdout] ... | [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / named_args!(extract_block<'a>(file: &FileMetaData, output_dir: &str) <()>, [INFO] [stdout] 177 | | chain! [INFO] [stdout] 178 | | ( flag: compression_flag [INFO] [stdout] 179 | | ~ result: map!( [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / named_args!(pub extract_files<'a>(output_dir: &str) <()>, [INFO] [stdout] 213 | | chain! [INFO] [stdout] 214 | | ( files: extract_file_list [INFO] [stdout] 215 | | ~ foreach!(files, file => apply!(extract_file, file, output_dir)) [INFO] [stdout] 216 | | , || () [INFO] [stdout] 217 | | ) [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | / named!(pub extract_file_list < Vec >, [INFO] [stdout] 222 | | chain! [INFO] [stdout] 223 | | ( header: header [INFO] [stdout] 224 | | ~ file_list: apply!(file_list, header) [INFO] [stdout] 225 | | , || file_list [INFO] [stdout] 226 | | ) [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / named!(file_metadata , [INFO] [stdout] 253 | | chain! [INFO] [stdout] 254 | | ( filename: filename [INFO] [stdout] 255 | | ~ compressed_size: le_i32 [INFO] [stdout] ... | [INFO] [stdout] 258 | | ) [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / named!(pub header
, [INFO] [stdout] 263 | | chain! [INFO] [stdout] 264 | | ( tag!(&[0x08, 0x00]) // CBV magic number. [INFO] [stdout] 265 | | ~ file_count: le_u16 [INFO] [stdout] ... | [INFO] [stdout] 269 | | ) [INFO] [stdout] 270 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(huffman < Vec >, [INFO] [stdout] 274 | | chain! [INFO] [stdout] 275 | | ( decompressed_size: be_u16 [INFO] [stdout] 276 | | ~ result: bits!( [INFO] [stdout] ... | [INFO] [stdout] 284 | | ) [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(huffman < Vec >, [INFO] [stdout] 274 | | chain! [INFO] [stdout] 275 | | ( decompressed_size: be_u16 [INFO] [stdout] 276 | | ~ result: bits!( [INFO] [stdout] ... | [INFO] [stdout] 284 | | ) [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bits_impl` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/archive.rs:107:88 [INFO] [stdout] | [INFO] [stdout] 107 | let output_file = output_file_path.into_os_string().into_string().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | let file = try!(Mmap::open_path(filename, Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | try!(init_output(&file_list, output_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(file.read(&mut buffer[..HEADER_SIZE])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | try!(decrypt(buffer.as_ref(), &password, &mut cbv_output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(file.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(decrypt(buffer.as_slice(), &password, &mut cbv_output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | let file = try!(Mmap::open_path(filename, Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | try!(create_dir_all(directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/archive.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `des` is imported redundantly [INFO] [stdout] --> src/decrypt.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use des; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate des; [INFO] [stdout] | ----------------- the item `des` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decrypt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(output.write_all(&result[..byte_count])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cbv.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// Parse a compressed block. [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: unused doc comment [INFO] [stdout] --> src/cbv.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | /// Parse the compression flag. [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/cbv.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | /// Extract, decode and decompress a block. [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/cbv.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Extract a file from the archive. [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/cbv.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | /// Extract the files from the archive. [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/cbv.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | /// Parse only the filenames from the archive. [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/cbv.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | /// Parse a null-terminated String as a filename. [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/cbv.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | /// Parse the file list. [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/cbv.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | /// Parse the file metadata (name and sizes). [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/cbv.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | /// Parse a CBV file 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | / named!(huffman_tree((&[u8], usize)) -> huffman::Tree, [INFO] [stdout] 295 | | map!( [INFO] [stdout] 296 | | count_fixed!( [INFO] [stdout] 297 | | (usize, u16), [INFO] [stdout] ... | [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cbv.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | /// Decode a huffman-encoded block. [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/cbv.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | /// Decode a huffman tree. [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 `huffman` is imported redundantly [INFO] [stdout] --> src/cbv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use huffman; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate huffman; [INFO] [stdout] | --------------------- the item `huffman` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / named_args!(block<'a>(file: &FileMetaData, output_dir: &str) <()>, [INFO] [stdout] 93 | | chain! [INFO] [stdout] 94 | | ( block_size: le_u16 [INFO] [stdout] 95 | | ~ le_u16 // NOTE: unknown bytes. [INFO] [stdout] ... | [INFO] [stdout] 101 | | ) [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / named_args!(extract_block<'a>(file: &FileMetaData, output_dir: &str) <()>, [INFO] [stdout] 177 | | chain! [INFO] [stdout] 178 | | ( flag: compression_flag [INFO] [stdout] 179 | | ~ result: map!( [INFO] [stdout] ... | [INFO] [stdout] 200 | | ) [INFO] [stdout] 201 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/macros.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | $submac!(input, $($args)*) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cbv.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / named_args!(pub extract_files<'a>(output_dir: &str) <()>, [INFO] [stdout] 213 | | chain! [INFO] [stdout] 214 | | ( files: extract_file_list [INFO] [stdout] 215 | | ~ foreach!(files, file => apply!(extract_file, file, output_dir)) [INFO] [stdout] 216 | | , || () [INFO] [stdout] 217 | | ) [INFO] [stdout] 218 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | / named!(pub extract_file_list < Vec >, [INFO] [stdout] 222 | | chain! [INFO] [stdout] 223 | | ( header: header [INFO] [stdout] 224 | | ~ file_list: apply!(file_list, header) [INFO] [stdout] 225 | | , || file_list [INFO] [stdout] 226 | | ) [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / named!(file_metadata , [INFO] [stdout] 253 | | chain! [INFO] [stdout] 254 | | ( filename: filename [INFO] [stdout] 255 | | ~ compressed_size: le_i32 [INFO] [stdout] ... | [INFO] [stdout] 258 | | ) [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / named!(pub header
, [INFO] [stdout] 263 | | chain! [INFO] [stdout] 264 | | ( tag!(&[0x08, 0x00]) // CBV magic number. [INFO] [stdout] 265 | | ~ file_count: le_u16 [INFO] [stdout] ... | [INFO] [stdout] 269 | | ) [INFO] [stdout] 270 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(huffman < Vec >, [INFO] [stdout] 274 | | chain! [INFO] [stdout] 275 | | ( decompressed_size: be_u16 [INFO] [stdout] 276 | | ~ result: bits!( [INFO] [stdout] ... | [INFO] [stdout] 284 | | ) [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(huffman < Vec >, [INFO] [stdout] 274 | | chain! [INFO] [stdout] 275 | | ( decompressed_size: be_u16 [INFO] [stdout] 276 | | ~ result: bits!( [INFO] [stdout] ... | [INFO] [stdout] 284 | | ) [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bits_impl` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/cbv.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | / named!(huffman_tree((&[u8], usize)) -> huffman::Tree, [INFO] [stdout] 295 | | map!( [INFO] [stdout] 296 | | count_fixed!( [INFO] [stdout] 297 | | (usize, u16), [INFO] [stdout] ... | [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cbv.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | / named!(huffman_tree((&[u8], usize)) -> huffman::Tree, [INFO] [stdout] 295 | | map!( [INFO] [stdout] 296 | | count_fixed!( [INFO] [stdout] 297 | | (usize, u16), [INFO] [stdout] ... | [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cbv.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | / named!(huffman_tree((&[u8], usize)) -> huffman::Tree, [INFO] [stdout] 295 | | map!( [INFO] [stdout] 296 | | count_fixed!( [INFO] [stdout] 297 | | (usize, u16), [INFO] [stdout] ... | [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decrypt.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn decrypt(reader: R, password: &str, output: &mut Write) -> Result<(), io::Error> { [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] 65 | pub fn decrypt(reader: R, password: &str, output: &mut dyn Write) -> Result<(), io::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decrypt.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn decrypt(reader: R, password: &str, output: &mut Write) -> Result<(), io::Error> { [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] 65 | pub fn decrypt(reader: R, password: &str, output: &mut dyn Write) -> Result<(), io::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decompressed_size` is never read [INFO] [stdout] --> src/cbv.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileMetaData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 55 | pub compressed_size: i32, [INFO] [stdout] 56 | pub decompressed_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decompressed_size` is never read [INFO] [stdout] --> src/cbv.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileMetaData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 55 | pub compressed_size: i32, [INFO] [stdout] 56 | pub decompressed_size: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMetaData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let node = unsafe { &mut *($node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | create_node_if_not_exist!(node, previous, left) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | let previous = unsafe { &mut *($previous as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | create_node_if_not_exist!(node, previous, left) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let node = unsafe { &mut *($node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | create_node_if_not_exist!(node, previous, right) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | let previous = unsafe { &mut *($previous as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | create_node_if_not_exist!(node, previous, right) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | let node_ref = unsafe { &mut *(node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let node = unsafe { &mut *($node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | create_node_if_not_exist!(node, previous, left) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | let previous = unsafe { &mut *($previous as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | create_node_if_not_exist!(node, previous, left) [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let node = unsafe { &mut *($node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | create_node_if_not_exist!(node, previous, right) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | let previous = unsafe { &mut *($previous as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | create_node_if_not_exist!(node, previous, right) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: this error originates in the macro `create_node_if_not_exist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/cbv.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | let node_ref = unsafe { &mut *(node as *mut huffman::Tree) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uncbv` (bin "uncbv" test) due to 8 previous errors; 40 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `uncbv` (bin "uncbv") due to 8 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a151d5abbd6d7ff6b338f544b0844520f749a56013220e7f43dc8e4a2ff2ebfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a151d5abbd6d7ff6b338f544b0844520f749a56013220e7f43dc8e4a2ff2ebfe", kill_on_drop: false }` [INFO] [stdout] a151d5abbd6d7ff6b338f544b0844520f749a56013220e7f43dc8e4a2ff2ebfe [INFO] checking uncbv-0.2.4 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate uncbv 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate uncbv 0.2.4 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uncbv 0.2.4 [INFO] finished tweaking crates.io crate uncbv 0.2.4 [INFO] tweaked toml for crates.io crate uncbv 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1420a7f9c248ab5ea9ba37865d0d4ffecea5187b0d9a7c75803cc0f5b9967b07 [INFO] running `Command { std: "docker" "start" "-a" "1420a7f9c248ab5ea9ba37865d0d4ffecea5187b0d9a7c75803cc0f5b9967b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1420a7f9c248ab5ea9ba37865d0d4ffecea5187b0d9a7c75803cc0f5b9967b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1420a7f9c248ab5ea9ba37865d0d4ffecea5187b0d9a7c75803cc0f5b9967b07", kill_on_drop: false }` [INFO] [stdout] 1420a7f9c248ab5ea9ba37865d0d4ffecea5187b0d9a7c75803cc0f5b9967b07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a80f2565d65adb9be6cd1c4326f3c2adb176bce4ea810edb127a25d5b8d938d9 [INFO] running `Command { std: "docker" "start" "-a" "a80f2565d65adb9be6cd1c4326f3c2adb176bce4ea810edb127a25d5b8d938d9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "a80f2565d65adb9be6cd1c4326f3c2adb176bce4ea810edb127a25d5b8d938d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80f2565d65adb9be6cd1c4326f3c2adb176bce4ea810edb127a25d5b8d938d9", kill_on_drop: false }` [INFO] [stdout] a80f2565d65adb9be6cd1c4326f3c2adb176bce4ea810edb127a25d5b8d938d9