[INFO] fetching crate loop-rs 0.6.1... [INFO] testing loop-rs-0.6.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate loop-rs 0.6.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate loop-rs 0.6.1 [INFO] finished tweaking crates.io crate loop-rs 0.6.1 [INFO] tweaked toml for crates.io crate loop-rs 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate loop-rs 0.6.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding humantime v1.3.0 (available: v2.3.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding subprocess v0.1.20 (available: v0.2.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccf1f00d8e56f2d3e0809b153a32e5aa766f4f184297d027daa11cda036bdf3d [INFO] running `Command { std: "docker" "start" "-a" "ccf1f00d8e56f2d3e0809b153a32e5aa766f4f184297d027daa11cda036bdf3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccf1f00d8e56f2d3e0809b153a32e5aa766f4f184297d027daa11cda036bdf3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf1f00d8e56f2d3e0809b153a32e5aa766f4f184297d027daa11cda036bdf3d", kill_on_drop: false }` [INFO] [stdout] ccf1f00d8e56f2d3e0809b153a32e5aa766f4f184297d027daa11cda036bdf3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c08fddafd0951d2ea620d41c92f1284b513e73c105a082c05e5d98f4a562f086 [INFO] running `Command { std: "docker" "start" "-a" "c08fddafd0951d2ea620d41c92f1284b513e73c105a082c05e5d98f4a562f086", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling subprocess v0.1.20 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling loop-rs v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:238:48 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(StructOpt, Debug)] [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 238 | #[structopt(long = "for", parse(from_str = "get_values"))] [INFO] [stdout] | ^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 322 | fn get_values(input: &&str) -> Vec { [INFO] [stdout] | ------------------------------------------ found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&_) -> _` [INFO] [stdout] found function signature `fn(&&_) -> _` [INFO] [stdout] note: required by a bound in `Option::::map` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:1159:4 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 238 | #[structopt(long = "for", parse(from_str = |input: &str| "get_values"(&input)))] [INFO] [stdout] | +++++++++++++ ++++++++ [INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument [INFO] [stdout] | [INFO] [stdout] 322 - fn get_values(input: &&str) -> Vec { [INFO] [stdout] 322 + fn get_values(input: &str) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:266:69 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(StructOpt, Debug)] [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 266 | #[structopt(short = "r", long = "until-error", parse(from_str = "get_error_code"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 314 | fn get_error_code(input: &&str) -> ErrorCode { [INFO] [stdout] | -------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&_) -> _` [INFO] [stdout] found function signature `fn(&&_) -> _` [INFO] [stdout] note: required by a bound in `Option::::map` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:1159:4 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 266 | #[structopt(short = "r", long = "until-error", parse(from_str = |input: &str| "get_error_code"(&input)))] [INFO] [stdout] | +++++++++++++ ++++++++ [INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument [INFO] [stdout] | [INFO] [stdout] 314 - fn get_error_code(input: &&str) -> ErrorCode { [INFO] [stdout] 314 + fn get_error_code(input: &str) -> ErrorCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loop-rs` (bin "loop") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c08fddafd0951d2ea620d41c92f1284b513e73c105a082c05e5d98f4a562f086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c08fddafd0951d2ea620d41c92f1284b513e73c105a082c05e5d98f4a562f086", kill_on_drop: false }` [INFO] [stdout] c08fddafd0951d2ea620d41c92f1284b513e73c105a082c05e5d98f4a562f086