[INFO] fetching crate troll-rs 0.1.0... [INFO] testing troll-rs-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate troll-rs 0.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate troll-rs 0.1.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] 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3c91b9423ecb134c71229a222fa7079b4593f368dd1fd30e1a416c2f9c7880e3 [INFO] running `Command { std: "docker" "start" "-a" "3c91b9423ecb134c71229a222fa7079b4593f368dd1fd30e1a416c2f9c7880e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c91b9423ecb134c71229a222fa7079b4593f368dd1fd30e1a416c2f9c7880e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c91b9423ecb134c71229a222fa7079b4593f368dd1fd30e1a416c2f9c7880e3", kill_on_drop: false }` [INFO] [stdout] 3c91b9423ecb134c71229a222fa7079b4593f368dd1fd30e1a416c2f9c7880e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7be92ca5cfac20532ed42d88997b765f9e23b34fb41f4c990393aff1ce342fba [INFO] running `Command { std: "docker" "start" "-a" "7be92ca5cfac20532ed42d88997b765f9e23b34fb41f4c990393aff1ce342fba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling jmespath v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling cruet v0.14.0 [INFO] [stderr] Compiling enquote v1.1.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling terminal-prompt v0.2.3 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling elf v0.7.4 [INFO] [stderr] Compiling attohttpc v0.26.1 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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 6m 25s [INFO] running `Command { std: "docker" "inspect" "7be92ca5cfac20532ed42d88997b765f9e23b34fb41f4c990393aff1ce342fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be92ca5cfac20532ed42d88997b765f9e23b34fb41f4c990393aff1ce342fba", kill_on_drop: false }` [INFO] [stdout] 7be92ca5cfac20532ed42d88997b765f9e23b34fb41f4c990393aff1ce342fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 73f905c589fe9f489947f72425d053b97775b90dd87e993801ea235ced2311e0 [INFO] running `Command { std: "docker" "start" "-a" "73f905c589fe9f489947f72425d053b97775b90dd87e993801ea235ced2311e0", kill_on_drop: false }` [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] [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.98s [INFO] running `Command { std: "docker" "inspect" "73f905c589fe9f489947f72425d053b97775b90dd87e993801ea235ced2311e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f905c589fe9f489947f72425d053b97775b90dd87e993801ea235ced2311e0", kill_on_drop: false }` [INFO] [stdout] 73f905c589fe9f489947f72425d053b97775b90dd87e993801ea235ced2311e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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", kill_on_drop: false }` [INFO] [stdout] 56f4f23357f6d1331c54435b2c9a83d8c79f031fa62ee532172b332d85a50479 [INFO] running `Command { std: "docker" "start" "-a" "56f4f23357f6d1331c54435b2c9a83d8c79f031fa62ee532172b332d85a50479", 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.23s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/troll_rs-e2c32c9a7dc7208c) [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.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "56f4f23357f6d1331c54435b2c9a83d8c79f031fa62ee532172b332d85a50479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f4f23357f6d1331c54435b2c9a83d8c79f031fa62ee532172b332d85a50479", kill_on_drop: false }` [INFO] [stdout] 56f4f23357f6d1331c54435b2c9a83d8c79f031fa62ee532172b332d85a50479