[INFO] fetching crate macademia 0.5.3... [INFO] testing macademia-0.5.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate macademia 0.5.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate macademia 0.5.3 [INFO] finished tweaking crates.io crate macademia 0.5.3 [INFO] tweaked toml for crates.io crate macademia 0.5.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate macademia 0.5.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding fern v0.6.2 (available: v0.7.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6a28f2226e9381873fc1c88beeeb82ef46e093a491f1e78701fdb6bdc5fad7a [INFO] running `Command { std: "docker" "start" "-a" "b6a28f2226e9381873fc1c88beeeb82ef46e093a491f1e78701fdb6bdc5fad7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6a28f2226e9381873fc1c88beeeb82ef46e093a491f1e78701fdb6bdc5fad7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a28f2226e9381873fc1c88beeeb82ef46e093a491f1e78701fdb6bdc5fad7a", kill_on_drop: false }` [INFO] [stdout] b6a28f2226e9381873fc1c88beeeb82ef46e093a491f1e78701fdb6bdc5fad7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4220417141aaa539ec846069fdcaa8d2540bcf350fabdb4202f89b9925e54834 [INFO] running `Command { std: "docker" "start" "-a" "4220417141aaa539ec846069fdcaa8d2540bcf350fabdb4202f89b9925e54834", kill_on_drop: false }` [INFO] [stderr] Compiling macademia v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/platform/linux/window.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{window::{Window, WindowProps}, event::{application::{WindowCloseEvent, WindowResizeEvent}, Event}, prelude::Application}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/linux/window.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | ... let mut ev = WindowCloseEvent::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ConfigureNotify` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ConfigureNotify => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONFIGURE_NOTIFY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ClientMessage` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | ClientMessage => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLIENT_MESSAGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | &mut APPLICATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 72 | &raw mut APPLICATION [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "4220417141aaa539ec846069fdcaa8d2540bcf350fabdb4202f89b9925e54834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4220417141aaa539ec846069fdcaa8d2540bcf350fabdb4202f89b9925e54834", kill_on_drop: false }` [INFO] [stdout] 4220417141aaa539ec846069fdcaa8d2540bcf350fabdb4202f89b9925e54834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 657440511cc211638f92fb3e751ffc0859a8c4d4a6e6f004f618d6266a565657 [INFO] running `Command { std: "docker" "start" "-a" "657440511cc211638f92fb3e751ffc0859a8c4d4a6e6f004f618d6266a565657", kill_on_drop: false }` [INFO] [stderr] Compiling macademia v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/platform/linux/window.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{window::{Window, WindowProps}, event::{application::{WindowCloseEvent, WindowResizeEvent}, Event}, prelude::Application}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/linux/window.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | ... let mut ev = WindowCloseEvent::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ConfigureNotify` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ConfigureNotify => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONFIGURE_NOTIFY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ClientMessage` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | ClientMessage => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLIENT_MESSAGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | &mut APPLICATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 72 | &raw mut APPLICATION [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/platform/linux/window.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{window::{Window, WindowProps}, event::{application::{WindowCloseEvent, WindowResizeEvent}, Event}, prelude::Application}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/linux/window.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | ... let mut ev = WindowCloseEvent::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ConfigureNotify` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ConfigureNotify => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONFIGURE_NOTIFY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ClientMessage` should have an upper case name [INFO] [stdout] --> src/platform/linux/window.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | ClientMessage => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLIENT_MESSAGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | &mut APPLICATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 72 | &raw mut APPLICATION [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "657440511cc211638f92fb3e751ffc0859a8c4d4a6e6f004f618d6266a565657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657440511cc211638f92fb3e751ffc0859a8c4d4a6e6f004f618d6266a565657", kill_on_drop: false }` [INFO] [stdout] 657440511cc211638f92fb3e751ffc0859a8c4d4a6e6f004f618d6266a565657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f0da961941a72ad86f746780537e6df69e1f00e096be0e189491a104b88b6d1 [INFO] running `Command { std: "docker" "start" "-a" "7f0da961941a72ad86f746780537e6df69e1f00e096be0e189491a104b88b6d1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/platform/linux/window.rs:3:104 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{window::{Window, WindowProps}, event::{application::{WindowCloseEvent, WindowResizeEvent}, Event}, prelude::Application}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/platform/linux/window.rs:66:33 [INFO] [stderr] | [INFO] [stderr] 66 | ... let mut ev = WindowCloseEvent::new(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant in pattern `ConfigureNotify` should have an upper case name [INFO] [stderr] --> src/platform/linux/window.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | ConfigureNotify => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CONFIGURE_NOTIFY` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant in pattern `ClientMessage` should have an upper case name [INFO] [stderr] --> src/platform/linux/window.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | ClientMessage => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLIENT_MESSAGE` [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/application.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | &mut APPLICATION [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 72 | &raw mut APPLICATION [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `macademia` (lib) generated 5 warnings (run `cargo fix --lib -p macademia` to apply 2 suggestions) [INFO] [stderr] warning: `macademia` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/macademia-63dc9bc371334b4a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests macademia [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/application.rs - application::Application<'static>::run (line 56) - compile ... FAILED [INFO] [stdout] test src/application.rs - application::Application<'static>::new (line 26) ... FAILED [INFO] [stdout] test src/log.rs - log::init (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/application.rs - application::Application<'static>::run (line 56) stdout ---- [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/application.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 6 | let app = Application::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- two arguments of type `&'static str` and `&'static (dyn for<'a, 'b> Fn(&'a mut Application<'b>, Box<(dyn Event + 'static)>) + 'static)` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/application.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(title: &'static str, client_ev_handler: &'static dyn Fn(&mut Application, Box)) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 6 | let app = Application::new(/* &'static str */, /* &'static (dyn for<'a, 'b> Fn(&'a mut Application<'b>, Box<(dyn Event + 'static)>) + 'static) */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for unit type `()` in the current scope [INFO] [stdout] --> src/application.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 7 | app.run(); [INFO] [stdout] | ^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/application.rs - application::Application<'static>::new (line 26) stdout ---- [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/application.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 6 | let app = Application::new("title"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------- argument #2 of type `&'static (dyn for<'a, 'b> Fn(&'a mut Application<'b>, Box<(dyn Event + 'static)>) + 'static)` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/application.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(title: &'static str, client_ev_handler: &'static dyn Fn(&mut Application, Box)) { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 6 | let app = Application::new("title", /* &'static (dyn for<'a, 'b> Fn(&'a mut Application<'b>, Box<(dyn Event + 'static)>) + 'static) */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/log.rs - log::init (line 18) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/application.rs - application::Application<'static>::new (line 26) [INFO] [stdout] src/application.rs - application::Application<'static>::run (line 56) [INFO] [stdout] src/log.rs - log::init (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7f0da961941a72ad86f746780537e6df69e1f00e096be0e189491a104b88b6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0da961941a72ad86f746780537e6df69e1f00e096be0e189491a104b88b6d1", kill_on_drop: false }` [INFO] [stdout] 7f0da961941a72ad86f746780537e6df69e1f00e096be0e189491a104b88b6d1