[INFO] fetching crate notifrust 3.5.0... [INFO] testing notifrust-3.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate notifrust 3.5.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate notifrust 3.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74a95f85310d3afe7930169aa993fd0d20993e3aa155b47a312460f07d506078 [INFO] running `Command { std: "docker" "start" "-a" "74a95f85310d3afe7930169aa993fd0d20993e3aa155b47a312460f07d506078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a95f85310d3afe7930169aa993fd0d20993e3aa155b47a312460f07d506078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a95f85310d3afe7930169aa993fd0d20993e3aa155b47a312460f07d506078", kill_on_drop: false }` [INFO] [stdout] 74a95f85310d3afe7930169aa993fd0d20993e3aa155b47a312460f07d506078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05fd994e57c2699565ec8ec92778798cac8d59c169c92697cf4846735989d130 [INFO] running `Command { std: "docker" "start" "-a" "05fd994e57c2699565ec8ec92778798cac8d59c169c92697cf4846735989d130", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling dbus v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - let hints: ::std::collections::HashMap>> = i.read()?; [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.56s [INFO] running `Command { std: "docker" "inspect" "05fd994e57c2699565ec8ec92778798cac8d59c169c92697cf4846735989d130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fd994e57c2699565ec8ec92778798cac8d59c169c92697cf4846735989d130", kill_on_drop: false }` [INFO] [stdout] 05fd994e57c2699565ec8ec92778798cac8d59c169c92697cf4846735989d130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 32a7f14ed5fb6dd64404773cf26b9fffecdb58f6f42507fa4ae833f250b85d52 [INFO] running `Command { std: "docker" "start" "-a" "32a7f14ed5fb6dd64404773cf26b9fffecdb58f6f42507fa4ae833f250b85d52", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - let hints: ::std::collections::HashMap>> = i.read()?; [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] 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 `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[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[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[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[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[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] [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] [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 `Hint` [INFO] [stdout] --> tests/realworld.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Hint::Urgency(Low), [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hint` [INFO] [stdout] --> tests/realworld.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Hint::Urgency(Normal), [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hint` [INFO] [stdout] --> tests/realworld.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Hint::Urgency(Critical) [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [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 `Hint` [INFO] [stdout] --> tests/realworld.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | .hint(Hint::Category("email".to_string())) [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [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 `Hint` [INFO] [stdout] --> tests/realworld.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .hint(Hint::Resident(true)) [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [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 `Hint` [INFO] [stdout] --> tests/realworld.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | .hint(Hint::Resident(false)) [INFO] [stdout] | ^^^^ use of undeclared type `Hint` [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[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 `Urgency` [INFO] [stdout] --> tests/conversion.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(u0, Urgency::Low); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(Urgency::from("low"), Urgency::Low); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(Urgency::from("low"), Urgency::Low); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Urgency::from("medium"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Urgency::from("medium"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Urgency::from("Normal"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Urgency::from("Normal"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Urgency::from("NoRmaL"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Urgency::from("NoRmaL"), Urgency::Normal); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(Urgency::from("High"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(Urgency::from("High"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(Urgency::from("Hi"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [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[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: aborting due to 29 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[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(Urgency::from("Hi"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(Urgency::from("Critical"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Urgency` [INFO] [stdout] --> tests/conversion.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(Urgency::from("Critical"), Urgency::Critical); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Urgency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Urgency` in this scope [INFO] [stdout] --> tests/conversion.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let u0:Urgency = "low".into(); [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: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 `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] [stderr] error: could not compile `notifrust` due to 30 previous errors [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stderr] error: could not compile `notifrust` due to 18 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] [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[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[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] 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] 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] [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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a constant with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named constant `no_server` defined here [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 constant with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named constant `no_server` defined here [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 constant with a similar name exists: `no_server` [INFO] [stdout] ... [INFO] [stdout] 86 | fn no_server() { [INFO] [stdout] | -------------- similarly named constant `no_server` defined here [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[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 constant `no_server` defined here [INFO] [stdout] ... [INFO] [stdout] 111 | stop_server(); [INFO] [stdout] | ^^^^^^^^^^^ help: a constant 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] [stderr] error: could not compile `notifrust` due to 23 previous errors [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - let hints: ::std::collections::HashMap>> = i.read()?; [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] running `Command { std: "docker" "inspect" "32a7f14ed5fb6dd64404773cf26b9fffecdb58f6f42507fa4ae833f250b85d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a7f14ed5fb6dd64404773cf26b9fffecdb58f6f42507fa4ae833f250b85d52", kill_on_drop: false }` [INFO] [stdout] 32a7f14ed5fb6dd64404773cf26b9fffecdb58f6f42507fa4ae833f250b85d52