[INFO] fetching crate asynchronous 0.4.5... [INFO] checking asynchronous-0.4.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate asynchronous 0.4.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate asynchronous 0.4.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate asynchronous 0.4.5 [INFO] tweaked toml for crates.io crate asynchronous 0.4.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate asynchronous 0.4.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.5.2 (available: v0.12.1) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding num_cpus v0.2.13 (available: v1.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85c0747e4a2284518f8255434cce2716346db8dff7b411b49c9d0fd55e1ad6f6 [INFO] running `Command { std: "docker" "start" "-a" "85c0747e4a2284518f8255434cce2716346db8dff7b411b49c9d0fd55e1ad6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85c0747e4a2284518f8255434cce2716346db8dff7b411b49c9d0fd55e1ad6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c0747e4a2284518f8255434cce2716346db8dff7b411b49c9d0fd55e1ad6f6", kill_on_drop: false }` [INFO] [stdout] 85c0747e4a2284518f8255434cce2716346db8dff7b411b49c9d0fd55e1ad6f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c464ba09fddac4a6ddc55916a9df9b4088ea7265ec3606f8f543ea54d6bbd6 [INFO] running `Command { std: "docker" "start" "-a" "21c464ba09fddac4a6ddc55916a9df9b4088ea7265ec3606f8f543ea54d6bbd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ansi_term v0.5.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking asynchronous v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:840:21 [INFO] [stdout] | [INFO] [stdout] 840 | thread::sleep_ms(duration_ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v0.1.80 [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:479:48 [INFO] [stdout] | [INFO] [stdout] 479 | ... Ok(r) => { &txinter_cloned.send((id_process, r)); } , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 479 | Ok(r) => { let _ = &txinter_cloned.send((id_process, r)); } , [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | thread::sleep_ms(150); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/lib.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | thread::sleep_ms(75); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> examples/prime_numbers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:840:21 [INFO] [stdout] | [INFO] [stdout] 840 | thread::sleep_ms(duration_ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/prime_numbers.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | thread::sleep_ms(2000); // Simulate I/O wait [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/prime_numbers.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | thread::sleep_ms(2000); // Simulate I/O wait [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/prime_numbers.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | thread::sleep_ms(2000); // Simulate I/O wait [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/prime_numbers.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> examples/prime_numbers.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | let mut raw_args: Vec<&str> = command.trim_right_matches(x).split(' ').collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 156 - let mut raw_args: Vec<&str> = command.trim_right_matches(x).split(' ').collect(); [INFO] [stdout] 156 + let mut raw_args: Vec<&str> = command.trim_end_matches(x).split(' ').collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Args: Decodable` is not satisfied [INFO] [stdout] --> examples/prime_numbers.rs:158:74 [INFO] [stdout] | [INFO] [stdout] 158 | let args: Args = match docopt.clone().argv(raw_args.into_iter()).decode() { [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `Docopt::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docopt-0.6.86/src/dopt.rs:198:58 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn decode(&self) -> Result where D: Decodable { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Docopt::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:479:48 [INFO] [stdout] | [INFO] [stdout] 479 | ... Ok(r) => { &txinter_cloned.send((id_process, r)); } , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 479 | Ok(r) => { let _ = &txinter_cloned.send((id_process, r)); } , [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asynchronous` (example "prime_numbers") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/lib.rs:523:15 [INFO] [stdout] | [INFO] [stdout] 523 | Hello(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 523 - Hello(String), [INFO] [stdout] 523 + Hello(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | Hello(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 564 - Hello(String), [INFO] [stdout] 564 + Hello(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21c464ba09fddac4a6ddc55916a9df9b4088ea7265ec3606f8f543ea54d6bbd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c464ba09fddac4a6ddc55916a9df9b4088ea7265ec3606f8f543ea54d6bbd6", kill_on_drop: false }` [INFO] [stdout] 21c464ba09fddac4a6ddc55916a9df9b4088ea7265ec3606f8f543ea54d6bbd6