[INFO] cloning repository https://github.com/nokazn/syncnm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nokazn/syncnm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokazn%2Fsyncnm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokazn%2Fsyncnm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f09656d00da293a0f37f97634e2692d8a320ffe [INFO] checking nokazn/syncnm against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokazn%2Fsyncnm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nokazn/syncnm [INFO] finished tweaking git repo https://github.com/nokazn/syncnm [INFO] tweaked toml for git repo https://github.com/nokazn/syncnm written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nokazn/syncnm on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nokazn/syncnm 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4323d90f557f0ed313cb7f750d2071ff3e93926740d634bd9ca5079cdec2c079 [INFO] running `Command { std: "docker" "start" "-a" "4323d90f557f0ed313cb7f750d2071ff3e93926740d634bd9ca5079cdec2c079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4323d90f557f0ed313cb7f750d2071ff3e93926740d634bd9ca5079cdec2c079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4323d90f557f0ed313cb7f750d2071ff3e93926740d634bd9ca5079cdec2c079", kill_on_drop: false }` [INFO] [stdout] 4323d90f557f0ed313cb7f750d2071ff3e93926740d634bd9ca5079cdec2c079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95dfbdd783bf37357eebd44cac2d09a7a8c14910e1dfa46d25026231624d4450 [INFO] running `Command { std: "docker" "start" "-a" "95dfbdd783bf37357eebd44cac2d09a7a8c14910e1dfa46d25026231624d4450", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking lock_api v0.4.13 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking sdd v3.0.9 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking syncnm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/project/lockfile.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_hash_target(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/hash.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn to_hash_target(&self) -> Result>; [INFO] [stdout] | ------------------------ return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 25 - fn to_hash_target(&self) -> Result> { [INFO] [stdout] 25 + fn to_hash_target(&self) -> std::result::Result, anyhow::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/project/lockfile.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_hash_target(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/hash.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn to_hash_target(&self) -> Result>; [INFO] [stdout] | ------------------------ return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 25 - fn to_hash_target(&self) -> Result> { [INFO] [stdout] 25 + fn to_hash_target(&self) -> std::result::Result, anyhow::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `()` [INFO] [stdout] --> src/utils/path.rs:340:41 [INFO] [stdout] | [INFO] [stdout] 340 | |case: &CleanPathSeparatorTestCase| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 341 | | assert_eq!( [INFO] [stdout] 342 | | clean_path_separator(case.input).to_string_lossy(), [INFO] [stdout] 343 | | case.expected.to_string() [INFO] [stdout] 344 | | ); [INFO] [stdout] 345 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/tests.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | $fn($case); [INFO] [stdout] | - call expression requires function [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 340 ~ (|case: &CleanPathSeparatorTestCase| { [INFO] [stdout] 341 | assert_eq!( [INFO] [stdout] ... [INFO] [stdout] 344 | ); [INFO] [stdout] 345 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0618`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syncnm` (bin "syncnm" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "95dfbdd783bf37357eebd44cac2d09a7a8c14910e1dfa46d25026231624d4450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95dfbdd783bf37357eebd44cac2d09a7a8c14910e1dfa46d25026231624d4450", kill_on_drop: false }` [INFO] [stdout] 95dfbdd783bf37357eebd44cac2d09a7a8c14910e1dfa46d25026231624d4450