[INFO] fetching crate json-job-dispatch 3.0.2... [INFO] checking json-job-dispatch-3.0.2 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate json-job-dispatch 3.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate json-job-dispatch 3.0.2 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate json-job-dispatch 3.0.2 [INFO] finished tweaking crates.io crate json-job-dispatch 3.0.2 [INFO] tweaked toml for crates.io crate json-job-dispatch 3.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8c2dac4c05e92086c23cc7e4fdca46202f48ab7c159b11af199fb5ce66ccec [INFO] running `Command { std: "docker" "start" "-a" "5c8c2dac4c05e92086c23cc7e4fdca46202f48ab7c159b11af199fb5ce66ccec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8c2dac4c05e92086c23cc7e4fdca46202f48ab7c159b11af199fb5ce66ccec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8c2dac4c05e92086c23cc7e4fdca46202f48ab7c159b11af199fb5ce66ccec", kill_on_drop: false }` [INFO] [stdout] 5c8c2dac4c05e92086c23cc7e4fdca46202f48ab7c159b11af199fb5ce66ccec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f71e215308b6708ba1bb885d3828fe09a79d5f7d227a7bb7adfa7d1a90e4204d [INFO] running `Command { std: "docker" "start" "-a" "f71e215308b6708ba1bb885d3828fe09a79d5f7d227a7bb7adfa7d1a90e4204d", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rust-lzma v0.5.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking json-job-dispatch v3.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `watcher` does not live long enough [INFO] [stdout] --> src/director.rs:494:22 [INFO] [stdout] | [INFO] [stdout] 489 | let mut watcher = [INFO] [stdout] | ----------- binding `watcher` declared here [INFO] [stdout] ... [INFO] [stdout] 494 | let events = watcher [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ______________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 495 | | .events() [INFO] [stdout] | |_____________________- argument requires that `watcher` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 518 | } [INFO] [stdout] | - `watcher` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `inotify::Inotify::event_stream`: use `into_event_stream()` instead, which enforces a single Stream and predictable reads [INFO] [stdout] --> src/watcher.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | self.ino.event_stream(Box::leak(vec)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `watcher` does not live long enough [INFO] [stdout] --> src/director.rs:494:22 [INFO] [stdout] | [INFO] [stdout] 489 | let mut watcher = [INFO] [stdout] | ----------- binding `watcher` declared here [INFO] [stdout] ... [INFO] [stdout] 494 | let events = watcher [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ______________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 495 | | .events() [INFO] [stdout] | |_____________________- argument requires that `watcher` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 518 | } [INFO] [stdout] | - `watcher` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `inotify::Inotify::event_stream`: use `into_event_stream()` instead, which enforces a single Stream and predictable reads [INFO] [stdout] --> src/watcher.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | self.ino.event_stream(Box::leak(vec)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `inotify::Inotify::add_watch`: use `Inotify.watches().add()` instead [INFO] [stdout] --> src/watcher.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | ino.add_watch( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `inotify::Inotify::add_watch`: use `Inotify.watches().add()` instead [INFO] [stdout] --> src/watcher.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | ino.add_watch( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-job-dispatch` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-job-dispatch` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f71e215308b6708ba1bb885d3828fe09a79d5f7d227a7bb7adfa7d1a90e4204d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71e215308b6708ba1bb885d3828fe09a79d5f7d227a7bb7adfa7d1a90e4204d", kill_on_drop: false }` [INFO] [stdout] f71e215308b6708ba1bb885d3828fe09a79d5f7d227a7bb7adfa7d1a90e4204d