[INFO] fetching crate dexparser 0.6.2... [INFO] testing dexparser-0.6.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate dexparser 0.6.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dexparser 0.6.2 [INFO] finished tweaking crates.io crate dexparser 0.6.2 [INFO] tweaked toml for crates.io crate dexparser 0.6.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dexparser 0.6.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding mutf8 v0.2.0 (available: v0.5.0) [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa9fde605897cca650a22b391aa3eb96e5fcbd9ea836f4fdffd94b66ab14b80b [INFO] running `Command { std: "docker" "start" "-a" "aa9fde605897cca650a22b391aa3eb96e5fcbd9ea836f4fdffd94b66ab14b80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9fde605897cca650a22b391aa3eb96e5fcbd9ea836f4fdffd94b66ab14b80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9fde605897cca650a22b391aa3eb96e5fcbd9ea836f4fdffd94b66ab14b80b", kill_on_drop: false }` [INFO] [stdout] aa9fde605897cca650a22b391aa3eb96e5fcbd9ea836f4fdffd94b66ab14b80b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe484118e98f9e9a0c98cf979ff1711e69bd16c5fca7e4e25eb2922596ee9f1 [INFO] running `Command { std: "docker" "start" "-a" "4fe484118e98f9e9a0c98cf979ff1711e69bd16c5fca7e4e25eb2922596ee9f1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling mutf8 v0.2.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling dexparser v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/parse_data.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 386 | / /** [INFO] [stdout] 387 | | TODO: implement parsing call site items [INFO] [stdout] 388 | | fn parse_call_site_items(data: &[u8], data_off: usize, csi: &[u32], fd: &DexFileData) -> Result, DexParserError> { [INFO] [stdout] 389 | | unimplemented!(); [INFO] [stdout] ... | [INFO] [stdout] 425 | | */ [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/parser/parse_data.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | TODO: find a DEX file with call site items and test parsing them [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | let call_site_items = if let Some(csi) = raw.call_site_idxs { [INFO] [stdout] ... | [INFO] [stdout] 95 | | }; [INFO] [stdout] 96 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 97 | [INFO] [stdout] 98 | / Ok(DexFile { [INFO] [stdout] 99 | | header, [INFO] [stdout] 100 | | file_data, [INFO] [stdout] 101 | | classes [INFO] [stdout] 102 | | }) [INFO] [stdout] | |______- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/parser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / named_args!(parse_header(e: nom::Endianness)<&[u8], RawHeader>, [INFO] [stdout] 226 | | do_parse!( [INFO] [stdout] 227 | | // little bit of magic at the start [INFO] [stdout] 228 | | tag!(DEX_FILE_MAGIC) >> [INFO] [stdout] ... | [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn from(e: DexParserError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | leb128::read::unsigned(&mut (input.clone())).map(|i| i as u32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | leb128::read::signed(&mut (input.clone())).map(|i| i as i32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4fe484118e98f9e9a0c98cf979ff1711e69bd16c5fca7e4e25eb2922596ee9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe484118e98f9e9a0c98cf979ff1711e69bd16c5fca7e4e25eb2922596ee9f1", kill_on_drop: false }` [INFO] [stdout] 4fe484118e98f9e9a0c98cf979ff1711e69bd16c5fca7e4e25eb2922596ee9f1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ea655eb93494501d54ac778727d2d74a8465995a03c3fecf2994e547ccb5148 [INFO] running `Command { std: "docker" "start" "-a" "5ea655eb93494501d54ac778727d2d74a8465995a03c3fecf2994e547ccb5148", kill_on_drop: false }` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/parse_data.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 386 | / /** [INFO] [stdout] 387 | | TODO: implement parsing call site items [INFO] [stdout] 388 | | fn parse_call_site_items(data: &[u8], data_off: usize, csi: &[u32], fd: &DexFileData) -> Result, DexParserError> { [INFO] [stdout] 389 | | unimplemented!(); [INFO] [stdout] ... | [INFO] [stdout] 425 | | */ [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/parser/parse_data.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | TODO: find a DEX file with call site items and test parsing them [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | let call_site_items = if let Some(csi) = raw.call_site_idxs { [INFO] [stdout] ... | [INFO] [stdout] 95 | | }; [INFO] [stdout] 96 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 97 | [INFO] [stdout] 98 | / Ok(DexFile { [INFO] [stdout] 99 | | header, [INFO] [stdout] 100 | | file_data, [INFO] [stdout] 101 | | classes [INFO] [stdout] 102 | | }) [INFO] [stdout] | |______- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/parser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / named_args!(parse_header(e: nom::Endianness)<&[u8], RawHeader>, [INFO] [stdout] 226 | | do_parse!( [INFO] [stdout] 227 | | // little bit of magic at the start [INFO] [stdout] 228 | | tag!(DEX_FILE_MAGIC) >> [INFO] [stdout] ... | [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dexparser v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn from(e: DexParserError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | leb128::read::unsigned(&mut (input.clone())).map(|i| i as u32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | leb128::read::signed(&mut (input.clone())).map(|i| i as i32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/parser/parse_data.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 386 | / /** [INFO] [stdout] 387 | | TODO: implement parsing call site items [INFO] [stdout] 388 | | fn parse_call_site_items(data: &[u8], data_off: usize, csi: &[u32], fd: &DexFileData) -> Result, DexParserError> { [INFO] [stdout] 389 | | unimplemented!(); [INFO] [stdout] ... | [INFO] [stdout] 425 | | */ [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/parser/parse_data.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | TODO: find a DEX file with call site items and test parsing them [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | let call_site_items = if let Some(csi) = raw.call_site_idxs { [INFO] [stdout] ... | [INFO] [stdout] 95 | | }; [INFO] [stdout] 96 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 97 | [INFO] [stdout] 98 | / Ok(DexFile { [INFO] [stdout] 99 | | header, [INFO] [stdout] 100 | | file_data, [INFO] [stdout] 101 | | classes [INFO] [stdout] 102 | | }) [INFO] [stdout] | |______- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/parser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / named_args!(parse_header(e: nom::Endianness)<&[u8], RawHeader>, [INFO] [stdout] 226 | | do_parse!( [INFO] [stdout] 227 | | // little bit of magic at the start [INFO] [stdout] 228 | | tag!(DEX_FILE_MAGIC) >> [INFO] [stdout] ... | [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn from(e: DexParserError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | leb128::read::unsigned(&mut (input.clone())).map(|i| i as u32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | leb128::read::signed(&mut (input.clone())).map(|i| i as i32) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DexParserError` [INFO] [stdout] 4 | pub enum DexParserError { [INFO] [stdout] | -------------- `DexParserError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5ea655eb93494501d54ac778727d2d74a8465995a03c3fecf2994e547ccb5148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea655eb93494501d54ac778727d2d74a8465995a03c3fecf2994e547ccb5148", kill_on_drop: false }` [INFO] [stdout] 5ea655eb93494501d54ac778727d2d74a8465995a03c3fecf2994e547ccb5148 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7adbadb59c2f8185393d8142e7d8deee3c50a54f3f903ffe3202b293c7279b27 [INFO] running `Command { std: "docker" "start" "-a" "7adbadb59c2f8185393d8142e7d8deee3c50a54f3f903ffe3202b293c7279b27", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/parser/parse_data.rs:386:1 [INFO] [stderr] | [INFO] [stderr] 386 | / /** [INFO] [stderr] 387 | | TODO: implement parsing call site items [INFO] [stderr] 388 | | fn parse_call_site_items(data: &[u8], data_off: usize, csi: &[u32], fd: &DexFileData) -> Result, DexParserError> { [INFO] [stderr] 389 | | unimplemented!(); [INFO] [stderr] ... | [INFO] [stderr] 425 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/parser/parse_data.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | / /** [INFO] [stderr] 89 | | TODO: find a DEX file with call site items and test parsing them [INFO] [stderr] 90 | | [INFO] [stderr] 91 | | let call_site_items = if let Some(csi) = raw.call_site_idxs { [INFO] [stderr] ... | [INFO] [stderr] 95 | | }; [INFO] [stderr] 96 | | */ [INFO] [stderr] | |______^ [INFO] [stderr] 97 | [INFO] [stderr] 98 | / Ok(DexFile { [INFO] [stderr] 99 | | header, [INFO] [stderr] 100 | | file_data, [INFO] [stderr] 101 | | classes [INFO] [stderr] 102 | | }) [INFO] [stderr] | |______- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/parser/mod.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / named_args!(parse_header(e: nom::Endianness)<&[u8], RawHeader>, [INFO] [stderr] 226 | | do_parse!( [INFO] [stderr] 227 | | // little bit of magic at the start [INFO] [stderr] 228 | | tag!(DEX_FILE_MAGIC) >> [INFO] [stderr] ... | [INFO] [stderr] 274 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `named_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/error.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | fn from(e: DexParserError) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/parser/mod.rs:135:39 [INFO] [stderr] | [INFO] [stderr] 135 | leb128::read::unsigned(&mut (input.clone())).map(|i| i as u32) [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/parser/mod.rs:139:37 [INFO] [stderr] | [INFO] [stderr] 139 | leb128::read::signed(&mut (input.clone())).map(|i| i as i32) [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DexParserError` [INFO] [stderr] 4 | pub enum DexParserError { [INFO] [stderr] | -------------- `DexParserError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DexParserError` [INFO] [stderr] 4 | pub enum DexParserError { [INFO] [stderr] | -------------- `DexParserError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dexparser` (lib) generated 8 warnings (run `cargo fix --lib -p dexparser` to apply 2 suggestions) [INFO] [stderr] warning: `dexparser` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dexparser-b74824d9a4c23b82) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test parser::encoded_value::tests::test_empty_encoded_value_item ... ok [INFO] [stdout] test parser::encoded_value::tests::test_invalid_encoded_value_item_type ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_annotation ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_annotation_element_item ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_array_recursive ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_boolean_false ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_byte_value ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_char_value_multiple_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_char_value_single_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_array_simple ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_double_value ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_enum ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_boolean_true ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_field ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_float_value_multiple_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_array_complex ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_float_value_single_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_float_value_two_bytes ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_int_value_multiple_bytes ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_int_value_single_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_long_value_multiple_bytes ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_long_value_single_byte ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_method ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_method_type ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_short_value_multiple_bytes ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_method_handle ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_null ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_string ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_annotation_set_item ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_annotations ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_annotations_directory_item_empty ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_annotations_directory_item_full ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_short_value_single_byte ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_encoded_field ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_encoded_method ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_class_data_item ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_field_annotation_item ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_method_annotation_item ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_parameter_annotation_item ... ok [INFO] [stdout] test parser::encoded_value::tests::test_parse_type ... ok [INFO] [stdout] test parser::parse_data::tests::test_transform_field_annotations ... ok [INFO] [stdout] test parser::tests::test_access_flag_bitmasking ... ok [INFO] [stdout] test parser::tests::test_determine_leb128_length ... ok [INFO] [stdout] test parser::tests::test_parse_class_def_items ... ok [INFO] [stdout] test parser::tests::test_parse_field_id_items ... ok [INFO] [stdout] test parser::tests::test_parse_map_list ... ok [INFO] [stdout] test parser::tests::test_parse_method_handle_item ... ok [INFO] [stdout] test parser::tests::test_parse_method_id_items ... ok [INFO] [stdout] test parser::tests::test_parse_sleb128 ... ok [INFO] [stdout] test parser::tests::test_parse_string_id_items ... ok [INFO] [stdout] test parser::tests::test_parse_proto_id_items ... ok [INFO] [stdout] test parser::tests::test_parse_type_list ... ok [INFO] [stdout] test parser::tests::test_parse_uleb128 ... ok [INFO] [stdout] test parser::tests::test_parse_uleb128p1 ... ok [INFO] [stdout] test parser::parse_data::tests::test_parse_annotation_set_ref_list ... ok [INFO] [stdout] test parser::tests::test_parse_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 56 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests dexparser [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7adbadb59c2f8185393d8142e7d8deee3c50a54f3f903ffe3202b293c7279b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7adbadb59c2f8185393d8142e7d8deee3c50a54f3f903ffe3202b293c7279b27", kill_on_drop: false }` [INFO] [stdout] 7adbadb59c2f8185393d8142e7d8deee3c50a54f3f903ffe3202b293c7279b27