[INFO] fetching crate forky_fs 0.2.1-rc.1... [INFO] checking forky_fs-0.2.1-rc.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate forky_fs 0.2.1-rc.1 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate forky_fs 0.2.1-rc.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filedescriptor v0.8.2 [INFO] [stderr] Downloaded notify v7.0.0 [INFO] [stderr] Downloaded extend v1.2.0 [INFO] [stderr] Downloaded forky_core v0.2.1-rc.1 [INFO] [stderr] Downloaded file-id v0.2.2 [INFO] [stderr] Downloaded notify-debouncer-full v0.4.0 [INFO] [stderr] Downloaded clap v4.5.26 [INFO] [stderr] Downloaded notify-types v1.0.1 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded clap_builder v4.5.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bcebe1dd97da607e913db63aeed9adc3ea9a5f60d413a3afb16a07cb0956c00 [INFO] running `Command { std: "docker" "start" "-a" "0bcebe1dd97da607e913db63aeed9adc3ea9a5f60d413a3afb16a07cb0956c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bcebe1dd97da607e913db63aeed9adc3ea9a5f60d413a3afb16a07cb0956c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcebe1dd97da607e913db63aeed9adc3ea9a5f60d413a3afb16a07cb0956c00", kill_on_drop: false }` [INFO] [stdout] 0bcebe1dd97da607e913db63aeed9adc3ea9a5f60d413a3afb16a07cb0956c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aca3177ff333027f0c064d1145ff2620176d8f8c15674e73fc063d2609adf63d [INFO] running `Command { std: "docker" "start" "-a" "aca3177ff333027f0c064d1145ff2620176d8f8c15674e73fc063d2609adf63d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking notify-types v1.0.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking notify v7.0.0 [INFO] [stderr] Checking file-id v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking notify-debouncer-full v0.4.0 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking filedescriptor v0.8.2 [INFO] [stderr] Checking gag v1.0.0 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking forky_core v0.2.1-rc.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking 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] 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] [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" "aca3177ff333027f0c064d1145ff2620176d8f8c15674e73fc063d2609adf63d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca3177ff333027f0c064d1145ff2620176d8f8c15674e73fc063d2609adf63d", kill_on_drop: false }` [INFO] [stdout] aca3177ff333027f0c064d1145ff2620176d8f8c15674e73fc063d2609adf63d