[INFO] fetching crate troll-rs 0.1.0... [INFO] testing troll-rs-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate troll-rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate troll-rs 0.1.0 [INFO] finished tweaking crates.io crate troll-rs 0.1.0 [INFO] tweaked toml for crates.io crate troll-rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate troll-rs 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate troll-rs 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cruet v0.14.0 [INFO] [stderr] Downloaded handlebars_misc_helpers v0.15.0 [INFO] [stderr] Downloaded terminal-prompt v0.2.3 [INFO] [stderr] Downloaded auth-git2 v0.5.4 [INFO] [stderr] Downloaded attohttpc v0.26.1 [INFO] [stderr] Downloaded jmespath v0.3.0 [INFO] [stderr] Downloaded cargo-scaffold v0.12.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a329167f81ee393d000f398244e7bc3e065909101c52d001a985b32bd94101f [INFO] running `Command { std: "docker" "start" "-a" "5a329167f81ee393d000f398244e7bc3e065909101c52d001a985b32bd94101f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a329167f81ee393d000f398244e7bc3e065909101c52d001a985b32bd94101f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a329167f81ee393d000f398244e7bc3e065909101c52d001a985b32bd94101f", kill_on_drop: false }` [INFO] [stdout] 5a329167f81ee393d000f398244e7bc3e065909101c52d001a985b32bd94101f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c535964c4b5319250d09c1212ce53e5345e79526e1d1c13e9ad4754ccdb08cb5 [INFO] running `Command { std: "docker" "start" "-a" "c535964c4b5319250d09c1212ce53e5345e79526e1d1c13e9ad4754ccdb08cb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling elf v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling terminal-prompt v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling cruet v0.14.0 [INFO] [stderr] Compiling jmespath v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling enquote v1.1.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling attohttpc v0.26.1 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling handlebars_misc_helpers v0.15.0 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling auth-git2 v0.5.4 [INFO] [stderr] Compiling cargo-scaffold v0.12.0 [INFO] [stderr] Compiling troll-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] | ----- ----- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [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 `'data` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] 51 + pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'data, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "c535964c4b5319250d09c1212ce53e5345e79526e1d1c13e9ad4754ccdb08cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c535964c4b5319250d09c1212ce53e5345e79526e1d1c13e9ad4754ccdb08cb5", kill_on_drop: false }` [INFO] [stdout] c535964c4b5319250d09c1212ce53e5345e79526e1d1c13e9ad4754ccdb08cb5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 327ad95fce1093e5e4896a15550679bf9e1d90daa29427415bb1da050cc614ea [INFO] running `Command { std: "docker" "start" "-a" "327ad95fce1093e5e4896a15550679bf9e1d90daa29427415bb1da050cc614ea", kill_on_drop: false }` [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] | ----- ----- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [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 `'data` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] 51 + pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'data, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling troll-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] | ----- ----- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [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 `'data` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stdout] 51 + pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'data, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "327ad95fce1093e5e4896a15550679bf9e1d90daa29427415bb1da050cc614ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327ad95fce1093e5e4896a15550679bf9e1d90daa29427415bb1da050cc614ea", kill_on_drop: false }` [INFO] [stdout] 327ad95fce1093e5e4896a15550679bf9e1d90daa29427415bb1da050cc614ea [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d20031787dcf3e2ef5910c3184db320749b3e5415ccbc7d33eed083b21bb333 [INFO] running `Command { std: "docker" "start" "-a" "1d20031787dcf3e2ef5910c3184db320749b3e5415ccbc7d33eed083b21bb333", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/symbols.rs:51:63 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stderr] | ----- ----- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'data` [INFO] [stderr] | [INFO] [stderr] 51 - pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'_, Self> { [INFO] [stderr] 51 + pub fn from_elf(elf: &'data ElfBytes<'data, E>) -> Result<'data, Self> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `troll-rs` (lib) generated 1 warning (run `cargo fix --lib -p troll-rs` to apply 1 suggestion) [INFO] [stderr] warning: `troll-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/troll_rs-e2c32c9a7dc7208c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/troll_rs-2ad46928742e3685) [INFO] [stdout] test link::tests::test_align ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests troll_rs [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `-` [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 1 | troll-rs new PATH_TO_NEW_FOLDER [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1d20031787dcf3e2ef5910c3184db320749b3e5415ccbc7d33eed083b21bb333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d20031787dcf3e2ef5910c3184db320749b3e5415ccbc7d33eed083b21bb333", kill_on_drop: false }` [INFO] [stdout] 1d20031787dcf3e2ef5910c3184db320749b3e5415ccbc7d33eed083b21bb333