[INFO] fetching crate notifrust 3.5.0... [INFO] checking notifrust-3.5.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate notifrust 3.5.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate notifrust 3.5.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding dbus v0.6.5 (available: v0.9.7) [INFO] [stderr] Adding image v0.20.1 (available: v0.25.5) [INFO] [stderr] Adding mac-notification-sys v0.1.3 (available: v0.6.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mac-notification-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d9d749d13b146af28c2e53118589ba95860f838b1798ecc398b0a8cd2d48de3 [INFO] running `Command { std: "docker" "start" "-a" "3d9d749d13b146af28c2e53118589ba95860f838b1798ecc398b0a8cd2d48de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9d749d13b146af28c2e53118589ba95860f838b1798ecc398b0a8cd2d48de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9d749d13b146af28c2e53118589ba95860f838b1798ecc398b0a8cd2d48de3", kill_on_drop: false }` [INFO] [stdout] 3d9d749d13b146af28c2e53118589ba95860f838b1798ecc398b0a8cd2d48de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2daf200588fdc6ffdbaa3826d077eb862981f9abe103278a8e7b285b8a0df3b0 [INFO] running `Command { std: "docker" "start" "-a" "2daf200588fdc6ffdbaa3826d077eb862981f9abe103278a8e7b285b8a0df3b0", 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.164 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking memchr v2.7.4 [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.5 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking notifrust v3.5.0 (/opt/rustwide/workdir) [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[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/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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notifrust` (test "conversion") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `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/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[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 `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::mpmc::SendTimeoutError::Timeout` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(6000)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 66 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError::Milliseconds(6000)); [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 `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[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 `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 `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::mpmc::SendTimeoutError::Timeout` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(6000)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 105 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError::Milliseconds(6000)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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] 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 22 previous errors [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 `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 `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/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[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::mpmc::SendTimeoutError::Timeout` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 88 | notification.timeout = std::sync::mpmc::SendTimeoutError::Milliseconds(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 88 | notification.timeout = std::sync::mpsc::RecvTimeoutError::Milliseconds(42); [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::mpmc::SendTimeoutError::Timeout` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(21*2)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 89 | assert_eq!(notification.timeout, std::sync::mpsc::RecvTimeoutError::Milliseconds(21*2)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 `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[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 `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 `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] 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 "realworld") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "2daf200588fdc6ffdbaa3826d077eb862981f9abe103278a8e7b285b8a0df3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2daf200588fdc6ffdbaa3826d077eb862981f9abe103278a8e7b285b8a0df3b0", kill_on_drop: false }` [INFO] [stdout] 2daf200588fdc6ffdbaa3826d077eb862981f9abe103278a8e7b285b8a0df3b0