[INFO] fetching crate hoi4save 0.3.4... [INFO] checking hoi4save-0.3.4 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate hoi4save 0.3.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hoi4save 0.3.4 [INFO] finished tweaking crates.io crate hoi4save 0.3.4 [INFO] tweaked toml for crates.io crate hoi4save 0.3.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hoi4save 0.3.4 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hoi4save 0.3.4 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jomini_derive v0.2.2 [INFO] [stderr] Downloaded zip v0.6.2 [INFO] [stderr] Downloaded jomini v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec1d61f8f7e809abcc1b5e9758efb753b576afc4adc1bd41ce54d2bbd4b9a392 [INFO] running `Command { std: "docker" "start" "-a" "ec1d61f8f7e809abcc1b5e9758efb753b576afc4adc1bd41ce54d2bbd4b9a392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec1d61f8f7e809abcc1b5e9758efb753b576afc4adc1bd41ce54d2bbd4b9a392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1d61f8f7e809abcc1b5e9758efb753b576afc4adc1bd41ce54d2bbd4b9a392", kill_on_drop: false }` [INFO] [stdout] ec1d61f8f7e809abcc1b5e9758efb753b576afc4adc1bd41ce54d2bbd4b9a392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c0bd25622bf6626697a38692138477f863798f3600b9960cf79b3a5aca8daf [INFO] running `Command { std: "docker" "start" "-a" "89c0bd25622bf6626697a38692138477f863798f3600b9960cf79b3a5aca8daf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling hoi4save v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking zip v0.6.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling jomini_derive v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking attohttpc v0.24.1 [INFO] [stderr] Checking jomini v0.21.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_slice(data: &[u8]) -> 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] 44 | pub fn from_slice(data: &[u8]) -> Result, Hoi4Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn as_text(&self) -> Option<&Hoi4Text> { [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] 110 | pub fn as_text(&self) -> Option<&Hoi4Text<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn as_binary(&self) -> Option<&Hoi4Binary> { [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] 118 | pub fn as_binary(&self) -> Option<&Hoi4Binary<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn kind(&self) -> &Hoi4ParsedFileKind { [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] 126 | pub fn kind(&self) -> &Hoi4ParsedFileKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn deserializer<'b, RES>(&'b self, resolver: &'b RES) -> Hoi4Deserializer [INFO] [stdout] | ^^ ^^ --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'b` [INFO] [stdout] | | | the lifetimes get resolved as `'b` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn deserializer<'b, RES>(&'b self, resolver: &'b RES) -> Hoi4Deserializer<'b, RES> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn reader(&self) -> ObjectReader { [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] 163 | pub fn reader(&self) -> ObjectReader<'_, Utf8Encoding> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_slice(data: &[u8]) -> 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] 44 | pub fn from_slice(data: &[u8]) -> Result, Hoi4Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn as_text(&self) -> Option<&Hoi4Text> { [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] 110 | pub fn as_text(&self) -> Option<&Hoi4Text<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn as_binary(&self) -> Option<&Hoi4Binary> { [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] 118 | pub fn as_binary(&self) -> Option<&Hoi4Binary<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn kind(&self) -> &Hoi4ParsedFileKind { [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] 126 | pub fn kind(&self) -> &Hoi4ParsedFileKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn deserializer<'b, RES>(&'b self, resolver: &'b RES) -> Hoi4Deserializer [INFO] [stdout] | ^^ ^^ --------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'b` [INFO] [stdout] | | | the lifetimes get resolved as `'b` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn deserializer<'b, RES>(&'b self, resolver: &'b RES) -> Hoi4Deserializer<'b, RES> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/file.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn reader(&self) -> ObjectReader { [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] 163 | pub fn reader(&self) -> ObjectReader<'_, Utf8Encoding> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ironman` [INFO] [stdout] --> tests/parse.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(ironman)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ironman)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ironman)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ironman` [INFO] [stdout] --> tests/parse.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(ironman)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ironman)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ironman)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ironman` [INFO] [stdout] --> tests/parse.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(ironman)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ironman)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ironman)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ironman` [INFO] [stdout] --> tests/parse.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(ironman)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ironman)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ironman)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.57s [INFO] running `Command { std: "docker" "inspect" "89c0bd25622bf6626697a38692138477f863798f3600b9960cf79b3a5aca8daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c0bd25622bf6626697a38692138477f863798f3600b9960cf79b3a5aca8daf", kill_on_drop: false }` [INFO] [stdout] 89c0bd25622bf6626697a38692138477f863798f3600b9960cf79b3a5aca8daf