[INFO] fetching crate forky_fs 0.2.1-rc.1... [INFO] checking forky_fs-0.2.1-rc.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate forky_fs 0.2.1-rc.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate forky_fs 0.2.1-rc.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97b6851790295011def16ec4f84ff5f5d4df7b1ed6d7de61b1077a1a5f50d658 [INFO] running `Command { std: "docker" "start" "-a" "97b6851790295011def16ec4f84ff5f5d4df7b1ed6d7de61b1077a1a5f50d658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97b6851790295011def16ec4f84ff5f5d4df7b1ed6d7de61b1077a1a5f50d658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b6851790295011def16ec4f84ff5f5d4df7b1ed6d7de61b1077a1a5f50d658", kill_on_drop: false }` [INFO] [stdout] 97b6851790295011def16ec4f84ff5f5d4df7b1ed6d7de61b1077a1a5f50d658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f10e050263a5bbdfbeb3d07ef90b790f93f0a1a912ff130bc27ccdfdae782cf [INFO] running `Command { std: "docker" "start" "-a" "4f10e050263a5bbdfbeb3d07ef90b790f93f0a1a912ff130bc27ccdfdae782cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking notify-types v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking file-id v0.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking notify v7.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [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 filedescriptor v0.8.2 [INFO] [stderr] Checking gag v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.26 [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] 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/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" "4f10e050263a5bbdfbeb3d07ef90b790f93f0a1a912ff130bc27ccdfdae782cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f10e050263a5bbdfbeb3d07ef90b790f93f0a1a912ff130bc27ccdfdae782cf", kill_on_drop: false }` [INFO] [stdout] 4f10e050263a5bbdfbeb3d07ef90b790f93f0a1a912ff130bc27ccdfdae782cf