[INFO] fetching crate notifrust 3.5.0... [INFO] checking notifrust-3.5.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate notifrust 3.5.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate notifrust 3.5.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate notifrust 3.5.0 [INFO] finished tweaking crates.io crate notifrust 3.5.0 [INFO] tweaked toml for crates.io crate notifrust 3.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding dbus v0.6.5 (available: v0.9.7) [INFO] [stderr] Adding deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding error-chain v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding gif v0.10.3 (available: v0.13.1) [INFO] [stderr] Adding image v0.20.1 (available: v0.25.2) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (available: v0.3.1) [INFO] [stderr] Adding mac-notification-sys v0.1.3 (available: v0.6.2) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding png v0.12.0 (available: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding tiff v0.2.2 (available: v0.9.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mac-notification-sys v0.1.3 [INFO] [stderr] Downloaded image v0.20.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da701d38dde23c1289a771a5d19f9ceaaa29a4ec3cd79ec9eaefae870d16badd [INFO] running `Command { std: "docker" "start" "-a" "da701d38dde23c1289a771a5d19f9ceaaa29a4ec3cd79ec9eaefae870d16badd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da701d38dde23c1289a771a5d19f9ceaaa29a4ec3cd79ec9eaefae870d16badd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da701d38dde23c1289a771a5d19f9ceaaa29a4ec3cd79ec9eaefae870d16badd", kill_on_drop: false }` [INFO] [stdout] da701d38dde23c1289a771a5d19f9ceaaa29a4ec3cd79ec9eaefae870d16badd [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b1d482ff1fe3bf81025c5c969f92ad9b6643a7d48096dbc26507afb4f909b75 [INFO] running `Command { std: "docker" "start" "-a" "7b1d482ff1fe3bf81025c5c969f92ad9b6643a7d48096dbc26507afb4f909b75", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking notifrust v3.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | let id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | let id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let hints: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | let hints: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let hints: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | let hints: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `notify_rust` [INFO] [stdout] --> tests/realworld.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate notify_rust; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `notify_rust` [INFO] [stdout] --> tests/ownworld.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate notify_rust; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `notify_rust` [INFO] [stdout] --> tests/conversion.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate notify_rust; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notifrust` (test "conversion") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `Low` in this scope [INFO] [stdout] --> tests/realworld.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | Hint::Urgency(Low), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Normal` in this scope [INFO] [stdout] --> tests/realworld.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | Hint::Urgency(Normal), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use std::num::FpCategory::Normal; [INFO] [stdout] | [INFO] [stdout] 8 + use std::path::Component::Normal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Critical` in this scope [INFO] [stdout] --> tests/realworld.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | Hint::Urgency(Critical) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let server = NotificationServer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | NotificationServer::start(&server, |_|{}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_server` in this scope [INFO] [stdout] --> tests/ownworld.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named function `no_server` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let server = NotificationServer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | NotificationServer::start(&server, |notification|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_capabilities` in this scope [INFO] [stdout] --> tests/realworld.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | let capabilities:Vec = get_capabilities().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(Notification::new().summary("capability").body(&capability).show().is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/ownworld.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let notification = Notification::new().summary("foo").finalize(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let mut notification = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_server` in this scope [INFO] [stdout] --> tests/ownworld.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named function `no_server` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let server = NotificationServer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | NotificationServer::start(&server, |notification|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let mut notification = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let mut notification = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let mut notification = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timeout` [INFO] [stdout] --> tests/realworld.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | notification.timeout = Timeout::Milliseconds(42); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Timeout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 88 | notification.timeout = std::sync::mpsc::RecvTimeoutError(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timeout` [INFO] [stdout] --> tests/ownworld.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(notification.timeout, Timeout::Milliseconds(6000)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Timeout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError(6000)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timeout` [INFO] [stdout] --> tests/realworld.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(notification.timeout, Timeout::Milliseconds(21*2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Timeout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError(21*2)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/ownworld.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_server` in this scope [INFO] [stdout] --> tests/ownworld.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named function `no_server` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let server = NotificationServer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let mut notification = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | thread::spawn(move||{ NotificationServer::start(&server, |notification| println!("{:#?}", notification)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let mut message = Notification::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_server` in this scope [INFO] [stdout] --> tests/ownworld.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/ownworld.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let server = NotificationServer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NotificationServer` [INFO] [stdout] --> tests/ownworld.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | NotificationServer::start(&server, |notification|{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timeout` [INFO] [stdout] --> tests/ownworld.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(notification.timeout, Timeout::Milliseconds(6000)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Timeout` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError(6000)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/realworld.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | Notification::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> tests/ownworld.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Notification::new().summary("Notification without timeout").show(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_server` in this scope [INFO] [stdout] --> tests/ownworld.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named function `no_server` defined here [INFO] [stdout] ... [INFO] [stdout] 111 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `no_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notifrust` (test "ownworld") due to 23 previous errors [INFO] [stderr] error: could not compile `notifrust` (test "realworld") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "7b1d482ff1fe3bf81025c5c969f92ad9b6643a7d48096dbc26507afb4f909b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1d482ff1fe3bf81025c5c969f92ad9b6643a7d48096dbc26507afb4f909b75", kill_on_drop: false }` [INFO] [stdout] 7b1d482ff1fe3bf81025c5c969f92ad9b6643a7d48096dbc26507afb4f909b75