[INFO] fetching crate event-manager 0.2.1... [INFO] checking event-manager-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate event-manager 0.2.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate event-manager 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking crates.io crate event-manager 0.2.1 [INFO] finished tweaking crates.io crate event-manager 0.2.1 [INFO] tweaked toml for crates.io crate event-manager 0.2.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vmm-sys-util v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66401eb1fe846238aa5b9f26c72257350aab5277076cf5d6af73a756140cd950 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66401eb1fe846238aa5b9f26c72257350aab5277076cf5d6af73a756140cd950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66401eb1fe846238aa5b9f26c72257350aab5277076cf5d6af73a756140cd950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66401eb1fe846238aa5b9f26c72257350aab5277076cf5d6af73a756140cd950", kill_on_drop: false }` [INFO] [stdout] 66401eb1fe846238aa5b9f26c72257350aab5277076cf5d6af73a756140cd950 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e588db8407464ae61169da30164942289cd21ff49c55005307d7641b1e38e45c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e588db8407464ae61169da30164942289cd21ff49c55005307d7641b1e38e45c", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking vmm-sys-util v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking event-manager v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `utilities` in `event_manager` [INFO] [stdout] --> tests/multi_threaded.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use event_manager::utilities::subscribers::{ [INFO] [stdout] | ^^^^^^^^^ could not find `utilities` in `event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `utilities` in `event_manager` [INFO] [stdout] --> tests/regressions.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use event_manager::utilities::subscribers::CounterSubscriberWithData; [INFO] [stdout] | ^^^^^^^^^ could not find `utilities` in `event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `utilities` in `event_manager` [INFO] [stdout] --> tests/basic_event_manager.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use event_manager::utilities::subscribers::CounterSubscriber; [INFO] [stdout] | ^^^^^^^^^ could not find `utilities` in `event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `utilities` in `event_manager` [INFO] [stdout] --> benches/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use event_manager::utilities::subscribers::{ [INFO] [stdout] | ^^^^^^^^^ could not find `utilities` in `event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> tests/basic_event_manager.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | let counter_subscriber = CounterSubscriber::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriber` in this scope [INFO] [stdout] --> tests/basic_event_manager.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 15 | struct App { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | event_manager: EventManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriber` in this scope [INFO] [stdout] --> tests/basic_event_manager.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 20 | impl App { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | event_manager: EventManager::::new().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] --> tests/multi_threaded.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | let data_subscriber = Arc::new(Mutex::new(CounterSubscriberWithData::new(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> tests/multi_threaded.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | let counter_subscriber = Arc::new(Mutex::new(CounterSubscriber::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] --> tests/multi_threaded.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let data_subscriber_1 = CounterSubscriberWithData::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] --> tests/multi_threaded.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let data_subscriber_2 = CounterSubscriberWithData::new(1999); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterInnerMutSubscriber` [INFO] [stdout] --> tests/multi_threaded.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | let subscriber = Arc::new(CounterInnerMutSubscriber::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterInnerMutSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriberWithData` in this scope [INFO] [stdout] --> tests/multi_threaded.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn test_one_type_subscriber() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 56 | let mut event_manager = [INFO] [stdout] 57 | EventManager::::new().expect("Cannot create event manager"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> benches/main.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | let mut counter_subscriber = CounterSubscriber::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> benches/main.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | let counter_subscriber = Arc::new(Mutex::new(CounterSubscriber::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterInnerMutSubscriber` [INFO] [stdout] --> benches/main.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let counter_subscriber = CounterInnerMutSubscriber::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterInnerMutSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] --> benches/main.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | let mut data_subscriber = CounterSubscriberWithData::new(i * no_of_subscribers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> benches/main.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | let mut counter_subscriber = CounterSubscriber::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] --> tests/regressions.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let mut counter_subscriber = CounterSubscriberWithData::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriberWithData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriberWithData` in this scope [INFO] [stdout] --> tests/regressions.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_reuse_file_descriptor() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 11 | let mut event_manager = EventManager::::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterSubscriber` [INFO] [stdout] --> benches/main.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | let mut counter_subscriber = CounterSubscriber::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CounterSubscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriber` in this scope [INFO] [stdout] --> benches/main.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | let mut event_manager = EventManager::::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait EventSubscriber { [INFO] [stdout] | ------------------------- similarly named trait `EventSubscriber` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 | let mut event_manager = EventManager::::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | fn run_basic_subscriber(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriber` in this scope [INFO] [stdout] --> benches/main.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | let mut event_manager = EventManager::>>::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait EventSubscriber { [INFO] [stdout] | ------------------------- similarly named trait `EventSubscriber` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 | let mut event_manager = EventManager::>>::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn run_arc_mutex_subscriber(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CounterSubscriber` in this scope [INFO] [stdout] --> benches/main.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let mut event_manager = EventManager::::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait EventSubscriber { [INFO] [stdout] | ------------------------- similarly named trait `EventSubscriber` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 108 | let mut event_manager = EventManager::::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | fn run_with_few_active_events(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriberOps` [INFO] [stdout] --> tests/basic_event_manager.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | use event_manager::{EventManager, SubscriberId, SubscriberOps}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event-manager` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `SubscriberOps` [INFO] [stdout] --> tests/regressions.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use event_manager::{EventManager, SubscriberOps}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_all_counters` found for struct `MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> tests/multi_threaded.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | data_subscriber.lock().unwrap().trigger_all_counters(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `data_subscriber.lock().unwrap()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_event` found for struct `MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> tests/multi_threaded.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | counter_subscriber.lock().unwrap().trigger_event(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `counter_subscriber.lock().unwrap()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_event` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/multi_threaded.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | subscriber.trigger_event(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `subscriber` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/multi_threaded.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | let subscriber_id = event_manager.add_subscriber(subscriber.clone()); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `subscriber` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `counter` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/multi_threaded.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(subscriber.counter(), 100); [INFO] [stdout] | ^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `subscriber` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_event` found for struct `MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> benches/main.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | counter_subscriber.lock().unwrap().trigger_event(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `counter_subscriber.lock().unwrap()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e588db8407464ae61169da30164942289cd21ff49c55005307d7641b1e38e45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e588db8407464ae61169da30164942289cd21ff49c55005307d7641b1e38e45c", kill_on_drop: false }` [INFO] [stdout] e588db8407464ae61169da30164942289cd21ff49c55005307d7641b1e38e45c