[INFO] fetching crate notifrust 3.5.0... [INFO] checking notifrust-3.5.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate notifrust 3.5.0 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate notifrust 3.5.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding dbus v0.6.5 (available: v0.9.8) [INFO] [stderr] Adding image v0.20.1 (available: v0.25.6) [INFO] [stderr] Adding mac-notification-sys v0.1.3 (available: v0.6.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c0c214ee33ff8ddfdc6e9cf721ba559427661eea6dab45bf563ad2f6afd9cb9 [INFO] running `Command { std: "docker" "start" "-a" "4c0c214ee33ff8ddfdc6e9cf721ba559427661eea6dab45bf563ad2f6afd9cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c0c214ee33ff8ddfdc6e9cf721ba559427661eea6dab45bf563ad2f6afd9cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0c214ee33ff8ddfdc6e9cf721ba559427661eea6dab45bf563ad2f6afd9cb9", kill_on_drop: false }` [INFO] [stdout] 4c0c214ee33ff8ddfdc6e9cf721ba559427661eea6dab45bf563ad2f6afd9cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74d2c60c7178a8ec25531f045e914524f955ea2217f33106a59656700d4ef49e [INFO] running `Command { std: "docker" "start" "-a" "74d2c60c7178a8ec25531f045e914524f955ea2217f33106a59656700d4ef49e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libdbus-sys v0.2.6 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.75 [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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | types { [INFO] [stdout] 12 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | types { [INFO] [stdout] 12 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | let hints: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [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[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[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, Timeout::Milliseconds(6000)); [INFO] [stdout] 66 + assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(6000)); [INFO] [stdout] | [INFO] [stdout] 66 - assert_eq!(notification.timeout, Timeout::Milliseconds(6000)); [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, Timeout::Milliseconds(6000)); [INFO] [stdout] 105 + assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(6000)); [INFO] [stdout] | [INFO] [stdout] 105 - assert_eq!(notification.timeout, Timeout::Milliseconds(6000)); [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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 = Timeout::Milliseconds(42); [INFO] [stdout] 88 + notification.timeout = std::sync::mpmc::SendTimeoutError::Milliseconds(42); [INFO] [stdout] | [INFO] [stdout] 88 - notification.timeout = Timeout::Milliseconds(42); [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, Timeout::Milliseconds(21*2)); [INFO] [stdout] 89 + assert_eq!(notification.timeout, std::sync::mpmc::SendTimeoutError::Milliseconds(21*2)); [INFO] [stdout] | [INFO] [stdout] 89 - assert_eq!(notification.timeout, Timeout::Milliseconds(21*2)); [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" "74d2c60c7178a8ec25531f045e914524f955ea2217f33106a59656700d4ef49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d2c60c7178a8ec25531f045e914524f955ea2217f33106a59656700d4ef49e", kill_on_drop: false }` [INFO] [stdout] 74d2c60c7178a8ec25531f045e914524f955ea2217f33106a59656700d4ef49e