[INFO] fetching crate gtk-fnonce-on-eventloop 0.2.1... [INFO] testing gtk-fnonce-on-eventloop-0.2.1 against try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] extracting crate gtk-fnonce-on-eventloop 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate gtk-fnonce-on-eventloop 0.2.1 on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] [stderr] Downloaded glib v0.6.1 [INFO] [stderr] Downloaded gdk-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded atk-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.5.0 [INFO] [stderr] Downloaded gdk v0.9.0 [INFO] [stderr] Downloaded gio v0.5.1 [INFO] [stderr] Downloaded pango v0.5.0 [INFO] [stderr] Downloaded gtk-sys v0.7.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded gio-sys v0.7.0 [INFO] [stderr] Downloaded pango-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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08c6fb35f02329929bee9f49b7688bbb3273ec8949ee51a319a0ac071f385df7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08c6fb35f02329929bee9f49b7688bbb3273ec8949ee51a319a0ac071f385df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08c6fb35f02329929bee9f49b7688bbb3273ec8949ee51a319a0ac071f385df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c6fb35f02329929bee9f49b7688bbb3273ec8949ee51a319a0ac071f385df7", kill_on_drop: false }` [INFO] [stdout] 08c6fb35f02329929bee9f49b7688bbb3273ec8949ee51a319a0ac071f385df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92700853e904c9124aafb419ce88032ca7558663ad8185b4094be830887c8f0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "92700853e904c9124aafb419ce88032ca7558663ad8185b4094be830887c8f0b", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox<(A1,), Result> + Send + 'a` [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "92700853e904c9124aafb419ce88032ca7558663ad8185b4094be830887c8f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92700853e904c9124aafb419ce88032ca7558663ad8185b4094be830887c8f0b", kill_on_drop: false }` [INFO] [stdout] 92700853e904c9124aafb419ce88032ca7558663ad8185b4094be830887c8f0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ce476ee1c91f5c705612e92f7402d927e88254bdd556768d3a5e98f60c3aab3 [INFO] running `Command { std: "docker" "start" "-a" "5ce476ee1c91f5c705612e92f7402d927e88254bdd556768d3a5e98f60c3aab3", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox<(A1,), Result> + Send + 'a` [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] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox<(A1,), Result> + Send + 'a` [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.67s [INFO] running `Command { std: "docker" "inspect" "5ce476ee1c91f5c705612e92f7402d927e88254bdd556768d3a5e98f60c3aab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce476ee1c91f5c705612e92f7402d927e88254bdd556768d3a5e98f60c3aab3", kill_on_drop: false }` [INFO] [stdout] 5ce476ee1c91f5c705612e92f7402d927e88254bdd556768d3a5e98f60c3aab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47a78ac0ebfb912e348fb705db152f6546de942e17f11ae3abc0e0a64d06e185 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47a78ac0ebfb912e348fb705db152f6546de942e17f11ae3abc0e0a64d06e185", 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox<(A1,), Result> + Send + 'a` [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] [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.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gtk_fnonce_on_eventloop-5a62da62b6f74c48) [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/lib.rs - gtk_refs (line 53) ... FAILED [INFO] [stdout] test src/withgtk.rs - withgtk::with_gtk (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 42) ... FAILED [INFO] [stdout] test src/widgetrefs.rs - widgetrefs::widget_refs (line 9) ... FAILED [INFO] [stdout] test src/widgetrefs.rs - widgetrefs::widget_refs (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - gtk_refs (line 75) ... FAILED [INFO] [stdout] test src/withgtk.rs - withgtk::with_gtk (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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 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/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/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/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/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/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 1.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "47a78ac0ebfb912e348fb705db152f6546de942e17f11ae3abc0e0a64d06e185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a78ac0ebfb912e348fb705db152f6546de942e17f11ae3abc0e0a64d06e185", kill_on_drop: false }` [INFO] [stdout] 47a78ac0ebfb912e348fb705db152f6546de942e17f11ae3abc0e0a64d06e185