[INFO] fetching crate rust_supervisor 0.1.0... [INFO] testing rust_supervisor-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rust_supervisor 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rust_supervisor 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust_supervisor 0.1.0 [INFO] tweaked toml for crates.io crate rust_supervisor 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_supervisor 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_supervisor 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31f71cc5c38051a8e0f0ad122602febf88750c5cac674adda0d41201e2f61c3c [INFO] running `Command { std: "docker" "start" "-a" "31f71cc5c38051a8e0f0ad122602febf88750c5cac674adda0d41201e2f61c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31f71cc5c38051a8e0f0ad122602febf88750c5cac674adda0d41201e2f61c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f71cc5c38051a8e0f0ad122602febf88750c5cac674adda0d41201e2f61c3c", kill_on_drop: false }` [INFO] [stdout] 31f71cc5c38051a8e0f0ad122602febf88750c5cac674adda0d41201e2f61c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 935bf1622cb3e23b0bc2ba75941c4bdeb7e578e9386e82055cebd995f0ca7145 [INFO] running `Command { std: "docker" "start" "-a" "935bf1622cb3e23b0bc2ba75941c4bdeb7e578e9386e82055cebd995f0ca7145", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rust_supervisor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "935bf1622cb3e23b0bc2ba75941c4bdeb7e578e9386e82055cebd995f0ca7145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935bf1622cb3e23b0bc2ba75941c4bdeb7e578e9386e82055cebd995f0ca7145", kill_on_drop: false }` [INFO] [stdout] 935bf1622cb3e23b0bc2ba75941c4bdeb7e578e9386e82055cebd995f0ca7145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e669c46aff5c3be16c05fe4c45a0a5fd39961bae2dd726e68a7a16bb198b095 [INFO] running `Command { std: "docker" "start" "-a" "2e669c46aff5c3be16c05fe4c45a0a5fd39961bae2dd726e68a7a16bb198b095", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rust_supervisor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused import: `RestartStrategy` [INFO] [stdout] --> examples/basic/main.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_supervisor::{Supervisor, SupervisorConfig, RestartStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.24s [INFO] running `Command { std: "docker" "inspect" "2e669c46aff5c3be16c05fe4c45a0a5fd39961bae2dd726e68a7a16bb198b095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e669c46aff5c3be16c05fe4c45a0a5fd39961bae2dd726e68a7a16bb198b095", kill_on_drop: false }` [INFO] [stdout] 2e669c46aff5c3be16c05fe4c45a0a5fd39961bae2dd726e68a7a16bb198b095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc1558caf1056bd01f6a0f52431ffcf0c6b4c178078bf59e613da88e97b0673e [INFO] running `Command { std: "docker" "start" "-a" "cc1558caf1056bd01f6a0f52431ffcf0c6b4c178078bf59e613da88e97b0673e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RestartStrategy` [INFO] [stderr] --> examples/basic/main.rs:3:53 [INFO] [stderr] | [INFO] [stderr] 3 | use rust_supervisor::{Supervisor, SupervisorConfig, RestartStrategy}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_supervisor` (example "basic") generated 1 warning (run `cargo fix --example "basic"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_supervisor-8a85c58eeaedee43) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_supervisor [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - Supervisor::stop_process (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - Supervisor::start_monitoring (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - Supervisor::get_process_state (line 282) ... FAILED [INFO] [stdout] test src/lib.rs - Supervisor::add_dependency (line 150) ... FAILED [INFO] [stdout] test src/lib.rs - Supervisor::new (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - Supervisor::add_process (line 115) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Supervisor::stop_process (line 254) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `supervisor` in this scope [INFO] [stdout] --> src/lib.rs:255:15 [INFO] [stdout] | [INFO] [stdout] 3 | let stopped = supervisor.stop_process("worker1"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Supervisor::start_monitoring (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `supervisor` in this scope [INFO] [stdout] --> src/lib.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 3 | supervisor.start_monitoring(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Supervisor::get_process_state (line 282) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `supervisor` in this scope [INFO] [stdout] --> src/lib.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(state) = supervisor.get_process_state("worker1") { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Supervisor::add_dependency (line 150) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `supervisor` in this scope [INFO] [stdout] --> src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 4 | supervisor.add_dependency("worker2", "worker1"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Supervisor::new (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Supervisor` [INFO] [stdout] --> src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 3 | let supervisor = Supervisor::new(SupervisorConfig::default()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Supervisor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_supervisor::Supervisor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SupervisorConfig` [INFO] [stdout] --> src/lib.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 3 | let supervisor = Supervisor::new(SupervisorConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SupervisorConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_supervisor::SupervisorConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Supervisor::add_process (line 115) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `supervisor` in this scope [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 3 | supervisor.add_process("worker", || { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 4 | thread::spawn(|| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Supervisor::add_dependency (line 150) [INFO] [stdout] src/lib.rs - Supervisor::add_process (line 115) [INFO] [stdout] src/lib.rs - Supervisor::get_process_state (line 282) [INFO] [stdout] src/lib.rs - Supervisor::new (line 95) [INFO] [stdout] src/lib.rs - Supervisor::start_monitoring (line 168) [INFO] [stdout] src/lib.rs - Supervisor::stop_process (line 254) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.17s; merged doctests compilation took 0.07s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cc1558caf1056bd01f6a0f52431ffcf0c6b4c178078bf59e613da88e97b0673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1558caf1056bd01f6a0f52431ffcf0c6b4c178078bf59e613da88e97b0673e", kill_on_drop: false }` [INFO] [stdout] cc1558caf1056bd01f6a0f52431ffcf0c6b4c178078bf59e613da88e97b0673e