[INFO] fetching crate gtk-fnonce-on-eventloop 0.2.1... [INFO] testing gtk-fnonce-on-eventloop-0.2.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate gtk-fnonce-on-eventloop 0.2.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate gtk-fnonce-on-eventloop 0.2.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gtk-fnonce-on-eventloop 0.2.1 [INFO] finished tweaking crates.io crate gtk-fnonce-on-eventloop 0.2.1 [INFO] tweaked toml for crates.io crate gtk-fnonce-on-eventloop 0.2.1 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib v0.6.1 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded gio v0.5.1 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.5.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded pango v0.5.0 [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] [stderr] Downloaded pango-sys v0.7.0 [INFO] [stderr] Downloaded atk-sys v0.7.0 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded gio-sys v0.7.0 [INFO] [stderr] Downloaded gdk-sys v0.7.0 [INFO] [stderr] Downloaded gdk v0.9.0 [INFO] [stderr] Downloaded gtk-sys v0.7.0 [INFO] [stderr] Downloaded gtk v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dfae7a73d5eedd6062877dcb598a40e5e1cebf2bfe74008486aa5d2734f94d1 [INFO] running `Command { std: "docker" "start" "-a" "7dfae7a73d5eedd6062877dcb598a40e5e1cebf2bfe74008486aa5d2734f94d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dfae7a73d5eedd6062877dcb598a40e5e1cebf2bfe74008486aa5d2734f94d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfae7a73d5eedd6062877dcb598a40e5e1cebf2bfe74008486aa5d2734f94d1", kill_on_drop: false }` [INFO] [stdout] 7dfae7a73d5eedd6062877dcb598a40e5e1cebf2bfe74008486aa5d2734f94d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abb9fb0580c468e1c45e1b175a6dca8a205d48c721eb590cb947fc264aaf8147 [INFO] running `Command { std: "docker" "start" "-a" "abb9fb0580c468e1c45e1b175a6dca8a205d48c721eb590cb947fc264aaf8147", kill_on_drop: false }` [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling glib v0.6.1 [INFO] [stderr] Compiling pango v0.5.0 [INFO] [stderr] Compiling gtk-fnonce-on-eventloop v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | ()>(Box + Send + 'a>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - ()>(Box + Send + 'a>); [INFO] [stdout] 17 + ()>(Box + Send + 'a>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | Box + Send + 'a>) [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - Box + Send + 'a>) [INFO] [stdout] 46 + Box + Send + 'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.74s [INFO] running `Command { std: "docker" "inspect" "abb9fb0580c468e1c45e1b175a6dca8a205d48c721eb590cb947fc264aaf8147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb9fb0580c468e1c45e1b175a6dca8a205d48c721eb590cb947fc264aaf8147", kill_on_drop: false }` [INFO] [stdout] abb9fb0580c468e1c45e1b175a6dca8a205d48c721eb590cb947fc264aaf8147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5738805c621c253c1d6e913a505770e7b4cb3b3467065bd09dd71d0b80e95ab [INFO] running `Command { std: "docker" "start" "-a" "f5738805c621c253c1d6e913a505770e7b4cb3b3467065bd09dd71d0b80e95ab", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | ()>(Box + Send + 'a>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - ()>(Box + Send + 'a>); [INFO] [stdout] 17 + ()>(Box + Send + 'a>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | Box + Send + 'a>) [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - Box + Send + 'a>) [INFO] [stdout] 46 + Box + Send + 'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gtk-fnonce-on-eventloop v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | ()>(Box + Send + 'a>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - ()>(Box + Send + 'a>); [INFO] [stdout] 17 + ()>(Box + Send + 'a>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fnbox.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | Box + Send + 'a>) [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - Box + Send + 'a>) [INFO] [stdout] 46 + Box + Send + 'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.34s [INFO] running `Command { std: "docker" "inspect" "f5738805c621c253c1d6e913a505770e7b4cb3b3467065bd09dd71d0b80e95ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5738805c621c253c1d6e913a505770e7b4cb3b3467065bd09dd71d0b80e95ab", kill_on_drop: false }` [INFO] [stdout] f5738805c621c253c1d6e913a505770e7b4cb3b3467065bd09dd71d0b80e95ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a4adce09496a2e5289aeea79e5cf9a2f8a17d4d8b42042e135031ed8a929829 [INFO] running `Command { std: "docker" "start" "-a" "9a4adce09496a2e5289aeea79e5cf9a2f8a17d4d8b42042e135031ed8a929829", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fnbox.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | ()>(Box + Send + 'a>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - ()>(Box + Send + 'a>); [INFO] [stderr] 17 + ()>(Box + Send + 'a>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fnbox.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | Box + Send + 'a>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 46 - Box + Send + 'a>) [INFO] [stderr] 46 + Box + Send + 'a>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gtk-fnonce-on-eventloop` (lib) generated 2 warnings [INFO] [stderr] warning: `gtk-fnonce-on-eventloop` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gtk_fnonce_on_eventloop-6d9d9cb59437c2f0) [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 gtk-fnonce-on-eventloop [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/withgtk.rs - withgtk::with_gtk (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 53) ... FAILED [INFO] [stdout] test src/widgetrefs.rs - widgetrefs::widget_refs (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 86) ... FAILED [INFO] [stdout] test src/widgetrefs.rs - widgetrefs::widget_refs (line 18) ... FAILED [INFO] [stdout] test src/withgtk.rs - withgtk::with_gtk (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/withgtk.rs - withgtk::with_gtk (line 26) stdout ---- [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/withgtk.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn init_storage(&Refs); [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 1 | pub fn init_storage(self: &Refs); [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 1 | pub fn init_storage(Refs: &TypeName); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 1 | pub fn init_storage(_: &Refs); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `<` [INFO] [stdout] --> src/withgtk.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_in_gtk_eventloop( FnOnce(Rc) ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `>` [INFO] [stdout] --> src/withgtk.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn do_in_gtk_eventloop( FnOnce(Rc) ); [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gtk_refs (line 53) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 6 | impl From<>k::Builder> for WidgetRefs { ... }; [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/lib.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 6 | impl From<>k::Builder> for WidgetRefs { ... }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl WidgetRefs { [INFO] [stdout] | - item list starts here [INFO] [stdout] 8 | fn main_window() -> gtk::Window { } // returns a .clone() of the widget [INFO] [stdout] 9 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 10 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_storage(WidgetRefs); [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_storage(self: WidgetRefs); [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_storage(WidgetRefs: TypeName); [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 12 | pub fn init_storage(_: WidgetRefs); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_storage_from_builder(>k::Builder); [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init_storage_from_builder(_: >k::Builder); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `<` [INFO] [stdout] --> src/lib.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn do_in_gtk_eventloop( FnOnce(Rc) ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `>` [INFO] [stdout] --> src/lib.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn do_in_gtk_eventloop( FnOnce(Rc) ); [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widgetrefs.rs - widgetrefs::widget_refs (line 9) stdout ---- [INFO] [stdout] error: cannot find macro `widget_refs` in this scope [INFO] [stdout] --> src/widgetrefs.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 3 | widget_refs!(WigdetRefs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gtk_refs (line 42) stdout ---- [INFO] [stdout] error: cannot find macro `gtk_refs` in this scope [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 3 | gtk_refs!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gtk_refs (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `widgets` [INFO] [stdout] --> src/lib.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 3 | let widget_references = widgets::WidgetRefs { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `widgets` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `widgets` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 8 | widgets::init_storage(widget_references); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `widgets` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 4 | main_window: window.clone(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `button` in this scope [INFO] [stdout] --> src/lib.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 5 | button1: button.clone(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gtk_refs (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `widgets` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 3 | widgets::do_in_gtk_eventloop(|refs| { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `widgets` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 4 | refs.button1().set_label(&text); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widgetrefs.rs - widgetrefs::widget_refs (line 18) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/widgetrefs.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/widgetrefs.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 7 | impl From<>k::Builder> for WidgetRefs { ... }; [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/widgetrefs.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl WidgetRefs { [INFO] [stdout] | - item list starts here [INFO] [stdout] 9 | fn main_window() -> gtk::Window { } [INFO] [stdout] 10 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 11 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `from` [INFO] [stdout] --> src/widgetrefs.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 7 | impl From<>k::Builder> for WidgetRefs { ... }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `from` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn from(_: T) -> Self { todo!() }` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/widgetrefs.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn main_window() -> gtk::Window { } [INFO] [stdout] | ----------- ^^^^^^^^^^^ expected struct `Window`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/withgtk.rs - withgtk::with_gtk (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `super::Refs` [INFO] [stdout] --> src/withgtk.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::Refs; [INFO] [stdout] | ^^^^^^^^^^^ no `Refs` in the root [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/withgtk.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 7 | other_non_send_state : Rc>> [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/withgtk.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 7 | other_non_send_state : Rc>> [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `TX` in the current scope [INFO] [stdout] --> src/withgtk.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | with_gtk!(Refs); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `lock` not found for this [INFO] [stdout] | method not found in `TX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AccelGroupExt` [INFO] [stdout] = note: this error originates in the macro `with_gtk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `TX` in the current scope [INFO] [stdout] --> src/withgtk.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | with_gtk!(Refs); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `lock` not found for this [INFO] [stdout] | method not found in `TX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AccelGroupExt` [INFO] [stdout] = note: this error originates in the macro `with_gtk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `TX` in the current scope [INFO] [stdout] --> src/withgtk.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | with_gtk!(Refs); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `lock` not found for this [INFO] [stdout] | method not found in `TX` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gtk-0.5.0/src/auto/accel_group.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn lock(&self); [INFO] [stdout] | ---- the method is available for `TX` here [INFO] [stdout] | [INFO] [stdout] = note: `TX` is a function, perhaps you wish to call it [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `with_gtk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 13 | use gtk::AccelGroupExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv` found for struct `std::sync::mpsc::Receiver<_>` in the current scope [INFO] [stdout] --> src/withgtk.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | with_gtk!(Refs); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `std::sync::mpsc::Receiver<_>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `std::sync::mpsc::Receiver` [INFO] [stdout] = note: `event_callback_finished_rx` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in the macro `with_gtk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - gtk_refs (line 42) [INFO] [stdout] src/lib.rs - gtk_refs (line 53) [INFO] [stdout] src/lib.rs - gtk_refs (line 75) [INFO] [stdout] src/lib.rs - gtk_refs (line 86) [INFO] [stdout] src/widgetrefs.rs - widgetrefs::widget_refs (line 18) [INFO] [stdout] src/widgetrefs.rs - widgetrefs::widget_refs (line 9) [INFO] [stdout] src/withgtk.rs - withgtk::with_gtk (line 26) [INFO] [stdout] src/withgtk.rs - withgtk::with_gtk (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9a4adce09496a2e5289aeea79e5cf9a2f8a17d4d8b42042e135031ed8a929829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4adce09496a2e5289aeea79e5cf9a2f8a17d4d8b42042e135031ed8a929829", kill_on_drop: false }` [INFO] [stdout] 9a4adce09496a2e5289aeea79e5cf9a2f8a17d4d8b42042e135031ed8a929829