[INFO] fetching crate forky_fs 0.2.1-rc.1... [INFO] testing forky_fs-0.2.1-rc.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate forky_fs 0.2.1-rc.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate forky_fs 0.2.1-rc.1 [INFO] finished tweaking crates.io crate forky_fs 0.2.1-rc.1 [INFO] tweaked toml for crates.io crate forky_fs 0.2.1-rc.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate forky_fs 0.2.1-rc.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate forky_fs 0.2.1-rc.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eaae90775148b1986a7dd7bd6ca4a03e9fe106dbfd9bd13a2b4e3dbbf6964eb [INFO] running `Command { std: "docker" "start" "-a" "5eaae90775148b1986a7dd7bd6ca4a03e9fe106dbfd9bd13a2b4e3dbbf6964eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eaae90775148b1986a7dd7bd6ca4a03e9fe106dbfd9bd13a2b4e3dbbf6964eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eaae90775148b1986a7dd7bd6ca4a03e9fe106dbfd9bd13a2b4e3dbbf6964eb", kill_on_drop: false }` [INFO] [stdout] 5eaae90775148b1986a7dd7bd6ca4a03e9fe106dbfd9bd13a2b4e3dbbf6964eb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5429c80acf56200d09c15775f80df8c2e7f145acd84abcb1986ad87e1b4b96e [INFO] running `Command { std: "docker" "start" "-a" "f5429c80acf56200d09c15775f80df8c2e7f145acd84abcb1986ad87e1b4b96e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling notify-types v1.0.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling notify v7.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling notify-debouncer-full v0.4.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling filedescriptor v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling gag v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling forky_core v0.2.1-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling forky_fs v0.2.1-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/fs_watcher.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | fn lock(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.83s [INFO] running `Command { std: "docker" "inspect" "f5429c80acf56200d09c15775f80df8c2e7f145acd84abcb1986ad87e1b4b96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5429c80acf56200d09c15775f80df8c2e7f145acd84abcb1986ad87e1b4b96e", kill_on_drop: false }` [INFO] [stdout] f5429c80acf56200d09c15775f80df8c2e7f145acd84abcb1986ad87e1b4b96e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cac21b9e4cc8c86622e15d35d02bf8bbb4e2943624c075cbf822e538d54ecdc [INFO] running `Command { std: "docker" "start" "-a" "9cac21b9e4cc8c86622e15d35d02bf8bbb4e2943624c075cbf822e538d54ecdc", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/fs_watcher.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | fn lock(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling forky_fs v0.2.1-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sweet` [INFO] [stdout] --> src/fs/fs_ext.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | use sweet::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sweet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sweet`, use `cargo add sweet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sweet` [INFO] [stdout] --> src/fs/read_dir.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | use sweet::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sweet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sweet`, use `cargo add sweet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sweet` [INFO] [stdout] --> src/fs/read_file.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | use sweet::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sweet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sweet`, use `cargo add sweet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sweet` [INFO] [stdout] --> src/utility/cli_args/misc.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | use sweet::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sweet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sweet`, use `cargo add sweet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/fs_ext.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | expect( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/fs_ext.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | expect(FsExt::workspace_root().join("Cargo.lock").exists()) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | expect( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | expect( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:168:3 [INFO] [stdout] | [INFO] [stdout] 168 | expect(ReadDir::dirs(FsExt::test_dir()).unwrap().len()).to_be(2); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | expect(ReadDir::dirs_recursive(FsExt::test_dir()).unwrap().len()) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | expect(ReadDir::files(FsExt::test_dir()).unwrap().len()).to_be(3); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_dir.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | expect(ReadDir::files_recursive(FsExt::test_dir()).unwrap().len()) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | expect(ReadFile::to_string(FsExt::test_dir().join("mod.rs")).unwrap()) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | expect(ReadFile::to_string(FsExt::test_dir().join("foo.rs"))) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `expect` on `Result` [INFO] [stdout] | [INFO] [stdout] 67 - expect(ReadFile::to_string(FsExt::test_dir().join("foo.rs"))) [INFO] [stdout] 67 + ReadFile::to_string(FsExt::test_dir().join("foo.rs")).expect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | expect( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | expect(ReadFile::to_bytes(FsExt::test_dir().join("foo.rs"))) [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `expect` on `Result, fs_error::FsError>` [INFO] [stdout] | [INFO] [stdout] 80 - expect(ReadFile::to_bytes(FsExt::test_dir().join("foo.rs"))) [INFO] [stdout] 80 + ReadFile::to_bytes(FsExt::test_dir().join("foo.rs")).expect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | expect(hash1).not().to_be(hash2); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/fs/read_file.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | expect(hash3).to_be(hash1); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `expect` [INFO] [stdout] --> src/utility/cli_args/misc.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn works() { expect(get_cli_args().len()).to_be_greater_or_equal_to(0); } [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sweet` [INFO] [stdout] --> src/lib.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(test, test_runner(sweet::test_runner))] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sweet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sweet`, use `cargo add sweet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forky_fs` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "9cac21b9e4cc8c86622e15d35d02bf8bbb4e2943624c075cbf822e538d54ecdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cac21b9e4cc8c86622e15d35d02bf8bbb4e2943624c075cbf822e538d54ecdc", kill_on_drop: false }` [INFO] [stdout] 9cac21b9e4cc8c86622e15d35d02bf8bbb4e2943624c075cbf822e538d54ecdc