[INFO] fetching crate fx-callback 1.0.0... [INFO] testing fx-callback-1.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate fx-callback 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fx-callback 1.0.0 [INFO] finished tweaking crates.io crate fx-callback 1.0.0 [INFO] tweaked toml for crates.io crate fx-callback 1.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fx-callback 1.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 111 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fx-handle v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bfba76664a4e7a24d97503e20989450ab75497065707c9b717901e1d660cc25 [INFO] running `Command { std: "docker" "start" "-a" "4bfba76664a4e7a24d97503e20989450ab75497065707c9b717901e1d660cc25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bfba76664a4e7a24d97503e20989450ab75497065707c9b717901e1d660cc25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfba76664a4e7a24d97503e20989450ab75497065707c9b717901e1d660cc25", kill_on_drop: false }` [INFO] [stdout] 4bfba76664a4e7a24d97503e20989450ab75497065707c9b717901e1d660cc25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 443f1756265b56248c4e14945054edb56fa61748ad8794431b11e2c0856a1f54 [INFO] running `Command { std: "docker" "start" "-a" "443f1756265b56248c4e14945054edb56fa61748ad8794431b11e2c0856a1f54", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling fx-handle v1.0.0 [INFO] [stderr] Compiling fx-callback v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.55s [INFO] running `Command { std: "docker" "inspect" "443f1756265b56248c4e14945054edb56fa61748ad8794431b11e2c0856a1f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443f1756265b56248c4e14945054edb56fa61748ad8794431b11e2c0856a1f54", kill_on_drop: false }` [INFO] [stdout] 443f1756265b56248c4e14945054edb56fa61748ad8794431b11e2c0856a1f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dfdbc212c417bfb08b65dd1a8f00fd56f57dcb12dd89febc7e1f8e5062eb381 [INFO] running `Command { std: "docker" "start" "-a" "2dfdbc212c417bfb08b65dd1a8f00fd56f57dcb12dd89febc7e1f8e5062eb381", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thread-id v5.0.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling mock_instant v0.6.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling fx-handle v1.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling fx-callback v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log4rs v1.4.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.75s [INFO] running `Command { std: "docker" "inspect" "2dfdbc212c417bfb08b65dd1a8f00fd56f57dcb12dd89febc7e1f8e5062eb381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfdbc212c417bfb08b65dd1a8f00fd56f57dcb12dd89febc7e1f8e5062eb381", kill_on_drop: false }` [INFO] [stdout] 2dfdbc212c417bfb08b65dd1a8f00fd56f57dcb12dd89febc7e1f8e5062eb381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] af18e1e4e3dc131f9ea3bcc1cffe5567abccc88df971a4fc055717b2000567e9 [INFO] running `Command { std: "docker" "start" "-a" "af18e1e4e3dc131f9ea3bcc1cffe5567abccc88df971a4fc055717b2000567e9", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fx_callback-105bf1a996476b57) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] 2025-10-02 01:39:38.052 TRACE 126788 --- [callback::tests] fx_callback::callback  : Added callback handle 7556433083146609881 to BaseCallback { callbacks: 1 } [INFO] [stdout] 2025-10-02 01:39:38.054 TRACE 126788 --- [callback::tests] fx_callback::callback  : Added callback handle 7556433084727207844 to BaseCallback { callbacks: 1 } [INFO] [stdout] 2025-10-02 01:39:38.055 TRACE 126788 --- [callback::tests] fx_callback::callback  : Invoking a total of 1 callbacks for Foo [INFO] [stdout] 2025-10-02 01:39:38.055 TRACE 126788 --- [callback::tests] fx_callback::callback  : Invoking a total of 1 callbacks for Foo [INFO] [stdout] 2025-10-02 01:39:38.055 TRACE 126788 --- [callback::tests] fx_callback::callback  : Callback handle 7556433083146609881 took 0.013ms to process the invocation [INFO] [stdout] 2025-10-02 01:39:38.055 TRACE 126788 --- [callback::tests] fx_callback::callback  : Added callback handle 7556433081998714310 to BaseCallback { callbacks: 1 } [INFO] [stdout] test callback::tests::test_multi_threaded_invoke ... ok [INFO] [stdout] 2025-10-02 01:39:38.056 TRACE 126788 --- [callback::tests] fx_callback::callback  : Callback handle 7556433084727207844 took 0.104ms to process the invocation [INFO] [stdout] 2025-10-02 01:39:38.060 TRACE 126787 --- [tokio-runtime-w] fx_callback::callback  : Invoking a total of 1 callbacks for Foo [INFO] [stdout] 2025-10-02 01:39:38.061 TRACE 126787 --- [tokio-runtime-w] fx_callback::callback  : Callback handle 7556433081998714310 took 0.017ms to process the invocation [INFO] [stdout] 2025-10-02 01:39:38.102 TRACE 126788 --- [callback::tests] fx_callback::callback  : Added callback handle 7556433082225033301 to BaseCallback { callbacks: 1 } [INFO] [stdout] 2025-10-02 01:39:38.102 TRACE 126788 --- [callback::tests] fx_callback::callback  : Added callback handle 7556433082065771698 to BaseCallback { callbacks: 2 } [INFO] [stdout] 2025-10-02 01:39:38.102 TRACE 126788 --- [callback::tests] fx_callback::callback  : Invoking a total of 2 callbacks for Foo [INFO] [stdout] 2025-10-02 01:39:38.102 TRACE 126788 --- [callback::tests] fx_callback::callback  : Callback handle 7556433082065771698 took 0.006ms to process the invocation [INFO] [stdout] 2025-10-02 01:39:38.102 TRACE 126788 --- [callback::tests] fx_callback::callback  : Callback handle 7556433082225033301 has been dropped [INFO] [stdout] 2025-10-02 01:39:38.102 DEBUG 126788 --- [callback::tests] fx_callback::callback  : Removed a total of 1 callbacks [INFO] [stdout] test callback::tests::test_invoke_dropped_receiver ... ok [INFO] [stdout] test callback::tests::test_single_threaded_invoke ... ok [INFO] [stdout] test callback::tests::test_multi_threaded_invoke_without_runtime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests fx_callback [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/callback.rs - callback::Callback (line 26) - compile ... ok [INFO] [stdout] test src/callback.rs - callback::MultiThreadedCallback (line 93) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... FAILED [INFO] [stdout] test src/callback.rs - callback::Callback::subscribe (line 54) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 76) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEvent` [INFO] [stdout] --> src/lib.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 5 | self.callbacks.invoke(MyEvent::Foo); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyEvent` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyStruct` [INFO] [stdout] --> src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 9 | let struct_with_callback = MyStruct::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MyStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - (line 51) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/lib.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 9 | callbacks: MultiThreadedCallback, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MyStruct { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 62) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Callback` in this scope [INFO] [stdout] --> src/lib.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use fx_callback::Callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/lib.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Subscription` in this scope [INFO] [stdout] --> src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 4 | fn subscribe(&self) -> Subscription { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use fx_callback::Subscription; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/lib.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn subscribe(&self) -> Subscription { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Subscriber` in this scope [INFO] [stdout] --> src/lib.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 8 | fn subscribe_with(&self, subscriber: Subscriber) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use fx_callback::Subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/lib.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 8 | fn subscribe_with(&self, subscriber: Subscriber) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl Callback for MyStruct { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - (line 76) [INFO] [stdout] src/lib.rs - (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "af18e1e4e3dc131f9ea3bcc1cffe5567abccc88df971a4fc055717b2000567e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af18e1e4e3dc131f9ea3bcc1cffe5567abccc88df971a4fc055717b2000567e9", kill_on_drop: false }` [INFO] [stdout] af18e1e4e3dc131f9ea3bcc1cffe5567abccc88df971a4fc055717b2000567e9