[INFO] fetching crate refrsh 0.2.1... [INFO] testing refrsh-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate refrsh 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate refrsh 0.2.1 [INFO] finished tweaking crates.io crate refrsh 0.2.1 [INFO] tweaked toml for crates.io crate refrsh 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate refrsh 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate refrsh 0.2.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.7.6 [INFO] [stderr] Downloaded litrs v0.2.3 [INFO] [stderr] Downloaded bunt-macros v0.2.8 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded toml_edit v0.19.14 [INFO] [stderr] Downloaded clap v4.4.2 [INFO] [stderr] Downloaded clap_builder v4.4.2 [INFO] [stderr] Downloaded clap_derive v4.4.2 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded os_info v3.7.0 [INFO] [stderr] Downloaded syn v2.0.30 [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded human-panic v1.2.0 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded bunt v0.2.8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a7c70d4439f497fdd5413a3da333ec7f35917c9dfcba15a5bf381e360284da3 [INFO] running `Command { std: "docker" "start" "-a" "9a7c70d4439f497fdd5413a3da333ec7f35917c9dfcba15a5bf381e360284da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a7c70d4439f497fdd5413a3da333ec7f35917c9dfcba15a5bf381e360284da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a7c70d4439f497fdd5413a3da333ec7f35917c9dfcba15a5bf381e360284da3", kill_on_drop: false }` [INFO] [stdout] 9a7c70d4439f497fdd5413a3da333ec7f35917c9dfcba15a5bf381e360284da3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a16ce0ba020449716a000bdfdc87d20e70ee33426ba33c7430228d6372a514 [INFO] running `Command { std: "docker" "start" "-a" "74a16ce0ba020449716a000bdfdc87d20e70ee33426ba33c7430228d6372a514", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling webbrowser v0.8.11 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling syn v2.0.30 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling bunt-macros v0.2.8 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bunt v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling os_info v3.7.0 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling human-panic v1.2.0 [INFO] [stderr] Compiling refrsh v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `ReadDirectoryChangesWatcher` in crate `notify` [INFO] [stdout] --> src/files.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_file_watcher(ext: String, run: bool)->notify::ReadDirectoryChangesWatcher{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `notify` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-6.1.1/src/lib.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 227 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 228 | pub use windows::ReadDirectoryChangesWatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an enum variant `notify::WatcherKind::ReadDirectoryChangesWatcher`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 12 - pub fn get_file_watcher(ext: String, run: bool)->notify::ReadDirectoryChangesWatcher{ [INFO] [stdout] 12 + pub fn get_file_watcher(ext: String, run: bool)->notify::WatcherKind{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadDirectoryChangesWatcher` in crate `notify` [INFO] [stdout] --> src/files.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let watcher: notify::ReadDirectoryChangesWatcher = RecommendedWatcher::new(move |result: Result|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `notify` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-6.1.1/src/lib.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 227 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 228 | pub use windows::ReadDirectoryChangesWatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an enum variant `notify::WatcherKind::ReadDirectoryChangesWatcher`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 - let watcher: notify::ReadDirectoryChangesWatcher = RecommendedWatcher::new(move |result: Result|{ [INFO] [stdout] 13 + let watcher: notify::WatcherKind = RecommendedWatcher::new(move |result: Result|{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | human_panic::setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `human_panic::setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | human_panic::setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `human_panic::setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refrsh` (bin "refrsh") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74a16ce0ba020449716a000bdfdc87d20e70ee33426ba33c7430228d6372a514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a16ce0ba020449716a000bdfdc87d20e70ee33426ba33c7430228d6372a514", kill_on_drop: false }` [INFO] [stdout] 74a16ce0ba020449716a000bdfdc87d20e70ee33426ba33c7430228d6372a514