[INFO] fetching crate afrish 0.1.0... [INFO] testing afrish-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate afrish 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate afrish 0.1.0 [INFO] finished tweaking crates.io crate afrish 0.1.0 [INFO] tweaked toml for crates.io crate afrish 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate afrish 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate afrish 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 822b10b92f38a0751a616b79ab2581915d8555f4457042b8fa4eb02788cfa36a [INFO] running `Command { std: "docker" "start" "-a" "822b10b92f38a0751a616b79ab2581915d8555f4457042b8fa4eb02788cfa36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "822b10b92f38a0751a616b79ab2581915d8555f4457042b8fa4eb02788cfa36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822b10b92f38a0751a616b79ab2581915d8555f4457042b8fa4eb02788cfa36a", kill_on_drop: false }` [INFO] [stdout] 822b10b92f38a0751a616b79ab2581915d8555f4457042b8fa4eb02788cfa36a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3afd993b43f0738e7b276e7c0ba7255e59e4f10aa77dd1e6a96841b3e1cd0f0a [INFO] running `Command { std: "docker" "start" "-a" "3afd993b43f0738e7b276e7c0ba7255e59e4f10aa77dd1e6a96841b3e1cd0f0a", kill_on_drop: false }` [INFO] [stderr] Compiling afrish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 200 - type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] 200 + type Callback0 = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 241 - type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] 241 + type Callback1Bool = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] 279 + type Callback1Event = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] 319 + type Callback1Float = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] 357 + type Callback1Font = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | WISH.get_mut() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | SENDER.get_mut().unwrap().send(String::from(msg)).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | SENDER.get_mut().unwrap().send(String::from("\n")).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:505:16 [INFO] [stdout] | [INFO] [stdout] 505 | if WISH.set(wish_process).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let mut input = WISH.get_mut().unwrap().stdin.take().unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | if OUTPUT [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [INFO] [stdout] | |________________________________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | SENDER.set(sender).expect(&err_msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "3afd993b43f0738e7b276e7c0ba7255e59e4f10aa77dd1e6a96841b3e1cd0f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afd993b43f0738e7b276e7c0ba7255e59e4f10aa77dd1e6a96841b3e1cd0f0a", kill_on_drop: false }` [INFO] [stdout] 3afd993b43f0738e7b276e7c0ba7255e59e4f10aa77dd1e6a96841b3e1cd0f0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f7f3236b0ade25e3b85b51fa83dbd912b6759886c6f50eac92e507cb7c79a87 [INFO] running `Command { std: "docker" "start" "-a" "1f7f3236b0ade25e3b85b51fa83dbd912b6759886c6f50eac92e507cb7c79a87", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 200 - type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] 200 + type Callback0 = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 241 - type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] 241 + type Callback1Bool = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] 279 + type Callback1Event = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] 319 + type Callback1Float = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] 357 + type Callback1Font = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | WISH.get_mut() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | SENDER.get_mut().unwrap().send(String::from(msg)).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | SENDER.get_mut().unwrap().send(String::from("\n")).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:505:16 [INFO] [stdout] | [INFO] [stdout] 505 | if WISH.set(wish_process).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let mut input = WISH.get_mut().unwrap().stdin.take().unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | if OUTPUT [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [INFO] [stdout] | |________________________________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | SENDER.set(sender).expect(&err_msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling afrish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 200 - type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stdout] 200 + type Callback0 = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 241 - type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stdout] 241 + type Callback1Bool = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stdout] 279 + type Callback1Event = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stdout] 319 + type Callback1Float = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wish.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stdout] 357 + type Callback1Font = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | WISH.get_mut() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | SENDER.get_mut().unwrap().send(String::from(msg)).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | SENDER.get_mut().unwrap().send(String::from("\n")).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:505:16 [INFO] [stdout] | [INFO] [stdout] 505 | if WISH.set(wish_process).is_err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let mut input = WISH.get_mut().unwrap().stdin.take().unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | if OUTPUT [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [INFO] [stdout] | |________________________________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wish.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wish.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | SENDER.set(sender).expect(&err_msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "1f7f3236b0ade25e3b85b51fa83dbd912b6759886c6f50eac92e507cb7c79a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7f3236b0ade25e3b85b51fa83dbd912b6759886c6f50eac92e507cb7c79a87", kill_on_drop: false }` [INFO] [stdout] 1f7f3236b0ade25e3b85b51fa83dbd912b6759886c6f50eac92e507cb7c79a87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aad5014b549c0ddc9f46b2e59afaf8c927b687194f3d20350bceacc20b3218b4 [INFO] running `Command { std: "docker" "start" "-a" "aad5014b549c0ddc9f46b2e59afaf8c927b687194f3d20350bceacc20b3218b4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:200:22 [INFO] [stderr] | [INFO] [stderr] 200 | type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 200 - type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stderr] 200 + type Callback0 = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:241:26 [INFO] [stderr] | [INFO] [stderr] 241 | type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 241 - type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stderr] 241 + type Callback1Bool = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:279:27 [INFO] [stderr] | [INFO] [stderr] 279 | type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 279 - type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stderr] 279 + type Callback1Event = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:319:27 [INFO] [stderr] | [INFO] [stderr] 319 | type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 319 - type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stderr] 319 + type Callback1Float = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:357:26 [INFO] [stderr] | [INFO] [stderr] 357 | type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 357 - type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stderr] 357 + type Callback1Font = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | WISH.get_mut() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | SENDER.get_mut().unwrap().send(String::from(msg)).unwrap(); [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | SENDER.get_mut().unwrap().send(String::from("\n")).unwrap(); [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:146:12 [INFO] [stderr] | [INFO] [stderr] 146 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:400:16 [INFO] [stderr] | [INFO] [stderr] 400 | if OUTPUT.get_mut().unwrap().read(&mut input).is_ok() { [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/wish.rs:505:16 [INFO] [stderr] | [INFO] [stderr] 505 | if WISH.set(wish_process).is_err() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:514:25 [INFO] [stderr] | [INFO] [stderr] 514 | let mut input = WISH.get_mut().unwrap().stdin.take().unwrap(); [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/wish.rs:515:12 [INFO] [stderr] | [INFO] [stderr] 515 | if OUTPUT [INFO] [stderr] | ____________^ [INFO] [stderr] 516 | | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [INFO] [stderr] | |________________________________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/wish.rs:516:18 [INFO] [stderr] | [INFO] [stderr] 516 | .set(WISH.get_mut().unwrap().stdout.take().unwrap()) [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/wish.rs:552:9 [INFO] [stderr] | [INFO] [stderr] 552 | SENDER.set(sender).expect(&err_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `afrish` (lib) generated 15 warnings (run `cargo fix --lib -p afrish` to apply 5 suggestions) [INFO] [stderr] warning: `afrish` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/afrish-87efc41a058d754e) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test font::tests::str_to_font_2 ... ok [INFO] [stdout] test font::tests::font_to_str ... ok [INFO] [stdout] test font::tests::str_to_font ... ok [INFO] [stdout] test toplevel::tests::geometry ... ok [INFO] [stdout] test font::tests::font_to_str_2 ... ok [INFO] [stdout] test wish::tests::split_items_2 ... ok [INFO] [stdout] test wish::tests::split_items_4 ... ok [INFO] [stdout] test wish::tests::split_items_1 ... ok [INFO] [stdout] test wish::tests::split_items_5 ... ok [INFO] [stdout] test wish::tests::split_items_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests afrish [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:200:22 [INFO] [stderr] | [INFO] [stderr] 200 | type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 200 - type Callback0 = Box<(dyn Fn() + Send + 'static)>; [INFO] [stderr] 200 + type Callback0 = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:241:26 [INFO] [stderr] | [INFO] [stderr] 241 | type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 241 - type Callback1Bool = Box<(dyn Fn(bool) + Send + 'static)>; [INFO] [stderr] 241 + type Callback1Bool = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:279:27 [INFO] [stderr] | [INFO] [stderr] 279 | type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 279 - type Callback1Event = Box<(dyn Fn(widget::TkEvent) + Send + 'static)>; [INFO] [stderr] 279 + type Callback1Event = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:319:27 [INFO] [stderr] | [INFO] [stderr] 319 | type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 319 - type Callback1Float = Box<(dyn Fn(f64) + Send + 'static)>; [INFO] [stderr] 319 + type Callback1Float = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/wish.rs:357:26 [INFO] [stderr] | [INFO] [stderr] 357 | type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 357 - type Callback1Font = Box<(dyn Fn(font::TkFont) + Send + 'static)>; [INFO] [stderr] 357 + type Callback1Font = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/button.rs - button (line 20) ... ignored [INFO] [stdout] test src/button.rs - button (line 9) ... ignored [INFO] [stdout] test src/check_button.rs - check_button (line 14) ... ignored [INFO] [stdout] test src/check_button.rs - check_button (line 26) ... ignored [INFO] [stdout] test src/dialog.rs - dialog (line 19) ... ignored [INFO] [stdout] test src/dialog.rs - dialog::TkOpenFileChooser::file_types (line 346) ... ignored [INFO] [stdout] test src/dialog.rs - dialog::TkSaveFileChooser::file_types (line 469) ... ignored [INFO] [stdout] test src/font.rs - font (line 21) ... ignored [INFO] [stdout] test src/grid.rs - grid (line 22) ... ignored [INFO] [stdout] test src/grid.rs - grid (line 7) ... ignored [INFO] [stdout] test src/grid.rs - grid::TkGridLayout::grid_configure (line 177) ... ignored [INFO] [stdout] test src/label.rs - label (line 19) ... ignored [INFO] [stdout] test src/label.rs - label (line 28) ... ignored [INFO] [stdout] test src/label.rs - label (line 9) ... ignored [INFO] [stdout] test src/lib.rs - (line 25) ... ignored [INFO] [stdout] test src/pack.rs - pack (line 7) ... ignored [INFO] [stdout] test src/theme.rs - theme::theme_names (line 12) ... ignored [INFO] [stdout] test src/wish.rs - wish (line 23) ... ignored [INFO] [stdout] test src/wish.rs - wish (line 5) ... ignored [INFO] [stdout] test src/wish.rs - wish (line 61) ... ignored [INFO] [stdout] test src/font.rs - font (line 11) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aad5014b549c0ddc9f46b2e59afaf8c927b687194f3d20350bceacc20b3218b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad5014b549c0ddc9f46b2e59afaf8c927b687194f3d20350bceacc20b3218b4", kill_on_drop: false }` [INFO] [stdout] aad5014b549c0ddc9f46b2e59afaf8c927b687194f3d20350bceacc20b3218b4