[INFO] fetching crate rust-xmlsec 1.0.0... [INFO] testing rust-xmlsec-1.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rust-xmlsec 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust-xmlsec 1.0.0 [INFO] finished tweaking crates.io crate rust-xmlsec 1.0.0 [INFO] tweaked toml for crates.io crate rust-xmlsec 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-xmlsec 1.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding xml-rs v0.8.27 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef8ab09a569d02f6cf957a49707e42546b068dac9255f0a5878cdd0023dfdad3 [INFO] running `Command { std: "docker" "start" "-a" "ef8ab09a569d02f6cf957a49707e42546b068dac9255f0a5878cdd0023dfdad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef8ab09a569d02f6cf957a49707e42546b068dac9255f0a5878cdd0023dfdad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8ab09a569d02f6cf957a49707e42546b068dac9255f0a5878cdd0023dfdad3", kill_on_drop: false }` [INFO] [stdout] ef8ab09a569d02f6cf957a49707e42546b068dac9255f0a5878cdd0023dfdad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de863e569c7b8d8deb475339aea0f8f34187cdb728d62fa340adba4a3b9ceed3 [INFO] running `Command { std: "docker" "start" "-a" "de863e569c7b8d8deb475339aea0f8f34187cdb728d62fa340adba4a3b9ceed3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling xml_serde v1.4.1 [INFO] [stderr] Compiling rust-xmlsec v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `OctetStream` is never constructed [INFO] [stdout] --> src/lib.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 177 | enum AlgorithmData<'a> { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 178 | NodeSet(&'a [xml::reader::XmlEvent]), [INFO] [stdout] 179 | OctetStream(&'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlgorithmData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:195:73 [INFO] [stdout] | [INFO] [stdout] 195 | fn transform_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 195 | fn transform_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:206:87 [INFO] [stdout] | [INFO] [stdout] 206 | fn transform_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | fn transform_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:217:73 [INFO] [stdout] | [INFO] [stdout] 217 | fn transform_canonical_xml_1_1<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 217 | fn transform_canonical_xml_1_1<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | fn transform_canonical_xml_1_1_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 228 | fn transform_canonical_xml_1_1_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:239:83 [INFO] [stdout] | [INFO] [stdout] 239 | fn transform_exclusive_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 239 | fn transform_exclusive_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:250:97 [INFO] [stdout] | [INFO] [stdout] 250 | fn transform_exclusive_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 250 | fn transform_exclusive_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:261:75 [INFO] [stdout] | [INFO] [stdout] 261 | fn transform_enveloped_signature<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 261 | fn transform_enveloped_signature<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.55s [INFO] running `Command { std: "docker" "inspect" "de863e569c7b8d8deb475339aea0f8f34187cdb728d62fa340adba4a3b9ceed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de863e569c7b8d8deb475339aea0f8f34187cdb728d62fa340adba4a3b9ceed3", kill_on_drop: false }` [INFO] [stdout] de863e569c7b8d8deb475339aea0f8f34187cdb728d62fa340adba4a3b9ceed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d848a4d423feaf61914f5363c57ae2500aac1f917f95d9674a48a061db87fb72 [INFO] running `Command { std: "docker" "start" "-a" "d848a4d423feaf61914f5363c57ae2500aac1f917f95d9674a48a061db87fb72", kill_on_drop: false }` [INFO] [stdout] warning: variant `OctetStream` is never constructed [INFO] [stdout] --> src/lib.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 177 | enum AlgorithmData<'a> { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 178 | NodeSet(&'a [xml::reader::XmlEvent]), [INFO] [stdout] 179 | OctetStream(&'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlgorithmData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:195:73 [INFO] [stdout] | [INFO] [stdout] 195 | fn transform_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 195 | fn transform_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:206:87 [INFO] [stdout] | [INFO] [stdout] 206 | fn transform_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | fn transform_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:217:73 [INFO] [stdout] | [INFO] [stdout] 217 | fn transform_canonical_xml_1_1<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 217 | fn transform_canonical_xml_1_1<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | fn transform_canonical_xml_1_1_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 228 | fn transform_canonical_xml_1_1_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:239:83 [INFO] [stdout] | [INFO] [stdout] 239 | fn transform_exclusive_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 239 | fn transform_exclusive_canonical_xml_1_0<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:250:97 [INFO] [stdout] | [INFO] [stdout] 250 | fn transform_exclusive_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 250 | fn transform_exclusive_canonical_xml_1_0_with_comments<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-xmlsec v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:261:75 [INFO] [stdout] | [INFO] [stdout] 261 | fn transform_enveloped_signature<'a>(events: AlgorithmData<'a>) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 261 | fn transform_enveloped_signature<'a>(events: AlgorithmData<'a>) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `references` on type `Output` [INFO] [stdout] --> src/lib.rs:811:29 [INFO] [stdout] | [INFO] [stdout] 811 | assert_eq!(verified.references.len(), 1); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-xmlsec` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d848a4d423feaf61914f5363c57ae2500aac1f917f95d9674a48a061db87fb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d848a4d423feaf61914f5363c57ae2500aac1f917f95d9674a48a061db87fb72", kill_on_drop: false }` [INFO] [stdout] d848a4d423feaf61914f5363c57ae2500aac1f917f95d9674a48a061db87fb72