[INFO] fetching crate hot-lib-reloader 0.7.0... [INFO] checking hot-lib-reloader-0.7.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate hot-lib-reloader 0.7.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate hot-lib-reloader 0.7.0 [INFO] finished tweaking crates.io crate hot-lib-reloader 0.7.0 [INFO] tweaked toml for crates.io crate hot-lib-reloader 0.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hot-lib-reloader 0.7.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding notify v6.1.1 (available: v8.0.0) [INFO] [stderr] Adding notify-debouncer-full v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 817f7b97d9b40c13418d029ea56e8e20688db20675e75aff0eac8e6f3a467f0e [INFO] running `Command { std: "docker" "start" "-a" "817f7b97d9b40c13418d029ea56e8e20688db20675e75aff0eac8e6f3a467f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "817f7b97d9b40c13418d029ea56e8e20688db20675e75aff0eac8e6f3a467f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817f7b97d9b40c13418d029ea56e8e20688db20675e75aff0eac8e6f3a467f0e", kill_on_drop: false }` [INFO] [stdout] 817f7b97d9b40c13418d029ea56e8e20688db20675e75aff0eac8e6f3a467f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 165a699f55678317b8ae67688bab1ccdc484573010ea041a30cd53d8dfaccfcc [INFO] running `Command { std: "docker" "start" "-a" "165a699f55678317b8ae67688bab1ccdc484573010ea041a30cd53d8dfaccfcc", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking file-id v0.2.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking notify-debouncer-full v0.3.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling hot-lib-reloader-macro v0.7.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking hot-lib-reloader v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib_reloader.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | pub unsafe fn get_symbol(&self, name: &[u8]) -> Result, HotReloaderError> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 313 | pub unsafe fn get_symbol(&self, name: &[u8]) -> Result, HotReloaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib_reloader.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | pub unsafe fn get_symbol(&self, name: &[u8]) -> Result, HotReloaderError> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 313 | pub unsafe fn get_symbol(&self, name: &[u8]) -> Result, HotReloaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find Rust source file "tests/lib_for_testing/src/lib.rs". Please make sure that you specify the file path from the project root directory. Please not that this has been changed in hot-lib-reloader v0.5 -> v0.6. See https://github.com/rksm/hot-lib-reloader-rs/issues/13. [INFO] [stdout] --> tests/lib-loader-test.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | hot_functions_from_file!("tests/lib_for_testing/src/lib.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(hot_lib::version(), 0); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(!hot_lib::was_updated()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let lib_observer = hot_lib::subscribe(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(hot_lib::version(), 0); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(!hot_lib::was_updated()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 63 | let n = hot_lib::do_more_stuff(Box::new(hot_lib::do_stuff)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(hot_lib::version(), 1); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(hot_lib::was_updated()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` 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 `hot_lib` [INFO] [stdout] --> tests/lib-loader-test.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(!hot_lib::was_updated()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `hot_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hot_lib`, use `cargo add hot_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hot-lib-reloader` (test "lib-loader-test") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "165a699f55678317b8ae67688bab1ccdc484573010ea041a30cd53d8dfaccfcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165a699f55678317b8ae67688bab1ccdc484573010ea041a30cd53d8dfaccfcc", kill_on_drop: false }` [INFO] [stdout] 165a699f55678317b8ae67688bab1ccdc484573010ea041a30cd53d8dfaccfcc