[INFO] fetching crate abxml 0.8.2... [INFO] testing abxml-0.8.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate abxml 0.8.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate abxml 0.8.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate abxml 0.8.2 [INFO] tweaked toml for crates.io crate abxml 0.8.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate abxml 0.8.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate abxml 0.8.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.3.5 [INFO] [stderr] Downloaded flate2 v1.0.12 [INFO] [stderr] Downloaded zip v0.5.3 [INFO] [stderr] Downloaded bzip2-sys v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9be3a923a4c3a9d01152c6ecc26aca43571c8b701386ea695c8baff3630e17f [INFO] running `Command { std: "docker" "start" "-a" "e9be3a923a4c3a9d01152c6ecc26aca43571c8b701386ea695c8baff3630e17f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9be3a923a4c3a9d01152c6ecc26aca43571c8b701386ea695c8baff3630e17f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9be3a923a4c3a9d01152c6ecc26aca43571c8b701386ea695c8baff3630e17f", kill_on_drop: false }` [INFO] [stdout] e9be3a923a4c3a9d01152c6ecc26aca43571c8b701386ea695c8baff3630e17f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ab867873e64741b740e041bf62dab5ef8be83a95f4b2ff62740537d06e7f3f00 [INFO] running `Command { std: "docker" "start" "-a" "ab867873e64741b740e041bf62dab5ef8be83a95f4b2ff62740537d06e7f3f00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling zip v0.5.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling abxml v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/model/value.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | let i_value: i32 = unsafe { mem::transmute(u_value) }; [INFO] [stdout] | --------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/xml.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.41s [INFO] running `Command { std: "docker" "inspect" "ab867873e64741b740e041bf62dab5ef8be83a95f4b2ff62740537d06e7f3f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab867873e64741b740e041bf62dab5ef8be83a95f4b2ff62740537d06e7f3f00", kill_on_drop: false }` [INFO] [stdout] ab867873e64741b740e041bf62dab5ef8be83a95f4b2ff62740537d06e7f3f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2a96ef402fcb102743f7e0dcdfa0876b4345689f94cde3584266f9733aef7973 [INFO] running `Command { std: "docker" "start" "-a" "2a96ef402fcb102743f7e0dcdfa0876b4345689f94cde3584266f9733aef7973", kill_on_drop: false }` [INFO] [stderr] Compiling abxml v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/model/value.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | let i_value: i32 = unsafe { mem::transmute(u_value) }; [INFO] [stdout] | --------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/xml.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_decoder(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/model/value.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | let i_value: i32 = unsafe { mem::transmute(u_value) }; [INFO] [stdout] | --------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/model.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visitor/xml.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn arsc(&self) -> &Resources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.35s [INFO] running `Command { std: "docker" "inspect" "2a96ef402fcb102743f7e0dcdfa0876b4345689f94cde3584266f9733aef7973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a96ef402fcb102743f7e0dcdfa0876b4345689f94cde3584266f9733aef7973", kill_on_drop: false }` [INFO] [stdout] 2a96ef402fcb102743f7e0dcdfa0876b4345689f94cde3584266f9733aef7973 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a4a7c1c66ef1362af498b00c2c8cddce41fea6ca6a11dfb0c3c9ebdbf2a2125f [INFO] running `Command { std: "docker" "start" "-a" "a4a7c1c66ef1362af498b00c2c8cddce41fea6ca6a11dfb0c3c9ebdbf2a2125f", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/decoder.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_decoder(&self) -> Result { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_decoder(&self) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/decoder.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/decoder.rs:72:40 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 72 | pub fn xml_visitor>(&self, content: &'a T) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/model/value.rs:159:37 [INFO] [stderr] | [INFO] [stderr] 159 | let i_value: i32 = unsafe { mem::transmute(u_value) }; [INFO] [stderr] | --------------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/visitor/model.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn get_resources(&self) -> &'a Resources { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn get_resources(&self) -> &'a Resources<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/visitor/model.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_mut_resources(&mut self) -> &'a mut Resources<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/visitor/xml.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn arsc(&self) -> &Resources { [INFO] [stderr] | ^^^^^ ---------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn arsc(&self) -> &Resources<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `abxml` (lib) generated 7 warnings (run `cargo fix --lib -p abxml` to apply 7 suggestions) [INFO] [stderr] warning: `abxml` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/abxml-280de45fedbb18ef) [INFO] [stdout] [INFO] [stdout] running 75 tests [INFO] [stdout] test chunks::chunk_header::tests::it_returns_absolute_offsets_from_relative_ones ... ok [INFO] [stdout] test chunks::chunk_header::tests::it_returns_chunk_end ... ok [INFO] [stdout] test chunks::chunk_header::tests::it_returns_data_offset ... ok [INFO] [stdout] test chunks::table_type::configuration::tests::it_can_decode_a_full_configuration_slice ... ok [INFO] [stdout] test chunks::table_type::configuration::tests::it_can_encode_bytes_region_from_string ... ok [INFO] [stdout] test chunks::resource::tests::it_can_not_decode_a_buffer_with_an_invalid_size ... ok [INFO] [stdout] test chunks::table_type::configuration::tests::it_can_encode_bytes_region_from_string_any ... ok [INFO] [stdout] test chunks::table_type::configuration::tests::it_can_encode_bytes_region_to_string ... ok [INFO] [stdout] test chunks::table_type::configuration::tests::it_can_encode_bytes_region_to_string_any ... ok [INFO] [stdout] test chunks::tests::it_can_detect_loops ... ok [INFO] [stdout] test chunks::tests::it_can_iterate_over_chunks ... ok [INFO] [stdout] test chunks::tests::it_stops_the_iteration_if_out_of_bounds ... ok [INFO] [stdout] test chunks::table_type_spec::tests::it_can_decode_a_type_spec ... ok [INFO] [stdout] test model::builder::tests::it_can_generate_a_resources_arsc_file_content ... ok [INFO] [stdout] test model::builder::tests::it_can_generate_a_resources_arsc_file_content_with_some_chunks ... ok [INFO] [stdout] test model::builder::tests::it_can_generate_a_resources_xml_file_content ... ok [INFO] [stdout] test model::owned::package::tests::it_can_create_a_package_with_the_maximum_length ... ok [INFO] [stdout] test model::builder::tests::it_can_generate_a_resources_xml_file_content_with_some_chunks ... ok [INFO] [stdout] test model::owned::package::tests::body_can_be_iterated_with_chunk_stream_loader ... ok [INFO] [stdout] test model::owned::package::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::package::tests::it_can_not_create_a_package_with_a_too_large_package_name ... ok [INFO] [stdout] test model::owned::resources::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::resources::tests::it_can_generate_an_empty_chunk ... ok [INFO] [stdout] test model::owned::resources::tests::identity ... ok [INFO] [stdout] test model::owned::string_table::tests::identity ... ok [INFO] [stdout] test model::owned::string_table::tests::identity_utf8 ... ok [INFO] [stdout] test model::owned::string_table::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::table_type::configuration::tests::identity ... ok [INFO] [stdout] test model::owned::string_table::tests::it_can_generate_an_empty_chunk ... ok [INFO] [stdout] test model::owned::table_type::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::table_type::tests::identity ... ok [INFO] [stdout] test model::owned::table_type_spec::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::xml::namespace_end::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::xml::namespace_end::tests::identity ... ok [INFO] [stdout] test model::owned::xml::namespace_start::tests::identity ... ok [INFO] [stdout] test model::owned::table_type_spec::tests::identity ... ok [INFO] [stdout] test model::owned::xml::namespace_start::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::owned::xml::tag_end::tests::identity ... ok [INFO] [stdout] test model::owned::xml::tag_end::tests::it_can_generate_an_empty_chunk ... ok [INFO] [stdout] test model::owned::xml::tag_start::tests::identity ... ok [INFO] [stdout] test model::tests::it_converts_package_id_if_is_0 ... ok [INFO] [stdout] test model::owned::xml::tag_start::tests::it_can_generate_a_chunk_with_the_given_data ... ok [INFO] [stdout] test model::tests::it_extracts_id ... ok [INFO] [stdout] test model::tests::it_extracts_package_id ... ok [INFO] [stdout] test model::tests::it_extracts_spec_id ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_boolean_false_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_boolean_true_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_color_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_color2_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_negative_dimension ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_negative_fraction ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_positive_dimension ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_positive_fraction ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_rgb4_color_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_a_string_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_an_argb4_color_value ... ok [INFO] [stdout] test model::value::tests::it_can_generate_attribute_and_dyn_references ... ok [INFO] [stdout] test model::value::tests::it_can_generate_integer_values ... ok [INFO] [stdout] test model::value::tests::it_can_generate_float_values ... ok [INFO] [stdout] test model::value::tests::it_can_generate_reference_and_dyn_references ... ok [INFO] [stdout] test model::value::tests::it_can_generate_flag_values ... ok [INFO] [stdout] test model::value::tests::it_generated_unknown_values_if_type_is_unkown ... ok [INFO] [stdout] test model::value::tests::it_can_not_generate_a_dimension_if_units_are_out_of_range ... ok [INFO] [stdout] test model::value::tests::it_can_not_generate_a_fraction_if_units_are_out_of_range ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_a_reference_without_namespace ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_a_reference_with_namespace ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_flags_if_in_resources ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_flags_if_in_resources_multiple ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_flags_if_index_out_of_bounds ... ok [INFO] [stdout] test visitor::xml::tests::it_resolves_to_null_if_id_is_0 ... ok [INFO] [stdout] test visitor::xml::tests::it_returns_error_if_the_provided_id_is_related_to_a_non_existing_package ... ok [INFO] [stdout] test model::owned::table_type::tests::identity_with_mixed_complex_and_simple_entries ... ok [INFO] [stdout] test chunks::chunk_header::tests::it_panics_from_relative_out_of_bound - should panic ... ok [INFO] [stdout] test decoder::tests::it_can_create_a_buffer_decoder_from_read ... ok [INFO] [stdout] test decoder::tests::it_can_not_decode_an_empty_binary_xml ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 75 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.89s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-ecb2b94f4ec57047) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_can_generate_a_decoder_from_a_buffer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a4a7c1c66ef1362af498b00c2c8cddce41fea6ca6a11dfb0c3c9ebdbf2a2125f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a7c1c66ef1362af498b00c2c8cddce41fea6ca6a11dfb0c3c9ebdbf2a2125f", kill_on_drop: false }` [INFO] [stdout] a4a7c1c66ef1362af498b00c2c8cddce41fea6ca6a11dfb0c3c9ebdbf2a2125f