[INFO] fetching crate notifrust 3.5.0... [INFO] building notifrust-3.5.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate notifrust 3.5.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate notifrust 3.5.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding dbus v0.6.5 (available: v0.9.9) [INFO] [stderr] Adding image v0.20.1 (available: v0.25.8) [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded malloc_buf v0.0.6 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded block v0.1.6 [INFO] [stderr] Downloaded objc_id v0.1.1 [INFO] [stderr] Downloaded mac-notification-sys v0.1.3 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded dbus v0.6.5 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded image v0.20.1 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded objc-foundation v0.1.1 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] [stderr] Downloaded libdbus-sys v0.2.6 [INFO] [stderr] Downloaded png v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21fdc8f9d6a6eb7bff0def2ce14fbbe8d88593f79982d9b1faa6362cba92d53a [INFO] running `Command { std: "docker" "start" "-a" "21fdc8f9d6a6eb7bff0def2ce14fbbe8d88593f79982d9b1faa6362cba92d53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21fdc8f9d6a6eb7bff0def2ce14fbbe8d88593f79982d9b1faa6362cba92d53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fdc8f9d6a6eb7bff0def2ce14fbbe8d88593f79982d9b1faa6362cba92d53a", kill_on_drop: false }` [INFO] [stdout] 21fdc8f9d6a6eb7bff0def2ce14fbbe8d88593f79982d9b1faa6362cba92d53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0dfca94aa8b1631733528003edacf6fc9755496f27509e4fb6ee761a21f868 [INFO] running `Command { std: "docker" "start" "-a" "cd0dfca94aa8b1631733528003edacf6fc9755496f27509e4fb6ee761a21f868", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libdbus-sys v0.2.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling dbus v0.6.5 [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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.18s [INFO] running `Command { std: "docker" "inspect" "cd0dfca94aa8b1631733528003edacf6fc9755496f27509e4fb6ee761a21f868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0dfca94aa8b1631733528003edacf6fc9755496f27509e4fb6ee761a21f868", kill_on_drop: false }` [INFO] [stdout] cd0dfca94aa8b1631733528003edacf6fc9755496f27509e4fb6ee761a21f868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 830fb676978ae2a8aec81ad266abffae1f5000f68f668c4712ff172cf3f70d04 [INFO] running `Command { std: "docker" "start" "-a" "830fb676978ae2a8aec81ad266abffae1f5000f68f668c4712ff172cf3f70d04", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling notifrust v3.5.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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/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/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] 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[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] 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: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 `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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | NotificationServer::start(&server, |_|{}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NotificationServer` [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] 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[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 `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[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 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[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] [stderr] error: could not compile `notifrust` (test "ownworld") due to 22 previous errors [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 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[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 `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] [stderr] error: could not compile `notifrust` (test "realworld") due to 23 previous errors [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] 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 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] 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] 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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] running `Command { std: "docker" "inspect" "830fb676978ae2a8aec81ad266abffae1f5000f68f668c4712ff172cf3f70d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830fb676978ae2a8aec81ad266abffae1f5000f68f668c4712ff172cf3f70d04", kill_on_drop: false }` [INFO] [stdout] 830fb676978ae2a8aec81ad266abffae1f5000f68f668c4712ff172cf3f70d04