[INFO] fetching crate egui_nodes 0.1.1... [INFO] testing egui_nodes-0.1.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate egui_nodes 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate egui_nodes 0.1.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate egui_nodes 0.1.1 [INFO] finished tweaking crates.io crate egui_nodes 0.1.1 [INFO] tweaked toml for crates.io crate egui_nodes 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37a55fedb16711f56ceed64b0db344e12d237404a9daebd7b52059b48dc68e04 [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" "37a55fedb16711f56ceed64b0db344e12d237404a9daebd7b52059b48dc68e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37a55fedb16711f56ceed64b0db344e12d237404a9daebd7b52059b48dc68e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a55fedb16711f56ceed64b0db344e12d237404a9daebd7b52059b48dc68e04", kill_on_drop: false }` [INFO] [stdout] 37a55fedb16711f56ceed64b0db344e12d237404a9daebd7b52059b48dc68e04 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a05e907079e09abef8676c82fe0fd72750f541c5e3edbc82d73f26656930248f [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" "a05e907079e09abef8676c82fe0fd72750f541c5e3edbc82d73f26656930248f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling atomic_refcell v0.1.7 [INFO] [stderr] Compiling emath v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ordered-float v2.5.1 [INFO] [stderr] Compiling epaint v0.11.0 [INFO] [stderr] Compiling egui v0.11.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling egui_nodes v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `contents` [INFO] [stdout] --> src/node.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.89s [INFO] running `Command { std: "docker" "inspect" "a05e907079e09abef8676c82fe0fd72750f541c5e3edbc82d73f26656930248f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05e907079e09abef8676c82fe0fd72750f541c5e3edbc82d73f26656930248f", kill_on_drop: false }` [INFO] [stdout] a05e907079e09abef8676c82fe0fd72750f541c5e3edbc82d73f26656930248f [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d259a741a882bc5b0dd7f461f27150425d5d5d31803cbd6e642fedc750c8c65 [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" "3d259a741a882bc5b0dd7f461f27150425d5d5d31803cbd6e642fedc750c8c65", kill_on_drop: false }` [INFO] [stderr] Compiling egui_nodes v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `contents` [INFO] [stdout] --> src/node.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contents` [INFO] [stdout] --> src/node.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "3d259a741a882bc5b0dd7f461f27150425d5d5d31803cbd6e642fedc750c8c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d259a741a882bc5b0dd7f461f27150425d5d5d31803cbd6e642fedc750c8c65", kill_on_drop: false }` [INFO] [stdout] 3d259a741a882bc5b0dd7f461f27150425d5d5d31803cbd6e642fedc750c8c65 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", 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] 5348560894ba2561214f1f0b8f2c6fd368c6b7191e11070064e76583a7c47cb2 [INFO] running `Command { std: "docker" "start" "-a" "5348560894ba2561214f1f0b8f2c6fd368c6b7191e11070064e76583a7c47cb2", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: field is never read: `contents` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/node.rs:63:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 63 | pub contents: Vec, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contents` [INFO] [stderr] --> src/node.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub contents: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/egui_nodes-81e7b521193a6397) [INFO] [stderr] Doc-tests egui_nodes [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/style.rs - style::Style (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/style.rs - style::Style (line 122) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/style.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 4 | let ctx = Context { style, ..Default::default() } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | } _doctest_main_src_style_rs_122_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Style` in this scope [INFO] [stdout] --> src/style.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 3 | let style = Style { colors: ColorStyle::colors_classic(), ..Default::default() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use egui::Style; [INFO] [stdout] | [INFO] [stdout] 2 | use egui::experimental::easy_mark_parser::Style; [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorStyle` [INFO] [stdout] --> src/style.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 3 | let style = Style { colors: ColorStyle::colors_classic(), ..Default::default() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::ColorStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Context` in this scope [INFO] [stdout] --> src/style.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 4 | let ctx = Context { style, ..Default::default() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use egui::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Defaut` [INFO] [stdout] --> src/lib.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 8 | .with_input_attribute(0, Defaut::default(), |ui| ui.label("Input")) [INFO] [stdout] | ^^^^^^ use of undeclared type `Defaut` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Defaut` [INFO] [stdout] --> src/lib.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 10 | .with_output_attribute(2, Defaut::default(), |ui| ui.label("Output")), [INFO] [stdout] | ^^^^^^ use of undeclared type `Defaut` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Defaut` [INFO] [stdout] --> src/lib.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 14 | .with_output_attribute(4, Defaut::default(), |ui| ui.label("Output")) [INFO] [stdout] | ^^^^^^ use of undeclared type `Defaut` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Defaut` [INFO] [stdout] --> src/lib.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 15 | .with_input_attribute(5, Defaut::default(), |ui| ui.label("Input")) [INFO] [stdout] | ^^^^^^ use of undeclared type `Defaut` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn example_graph(ctx: &mut Context, links: &mut Vec<(usize, usize)>, ui: &mut Ui) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use egui::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ui` in this scope [INFO] [stdout] --> src/lib.rs:9:83 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn example_graph(ctx: &mut Context, links: &mut Vec<(usize, usize)>, ui: &mut Ui) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use egui::Ui; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeConstructor` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | NodeConstructor::new(0, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::NodeConstructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeConstructor` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 11 | NodeConstructor::new(1, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::NodeConstructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinkArgs` [INFO] [stdout] --> src/lib.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 20 | links.iter().enumerate().map(|(i, (start, end))| (i, *start, *end, LinkArgs::default())), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use egui_nodes::LinkArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn example_graph(ctx: &mut Context, links: &mut Vec<(usize, usize)>, ui: &mut Ui) { [INFO] [stdout] | ------------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 30 | if let Some((start, end, _)) = self.ctx.link_created() { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0424, E0433. [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 - (line 8) [INFO] [stdout] src/style.rs - style::Style (line 122) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5348560894ba2561214f1f0b8f2c6fd368c6b7191e11070064e76583a7c47cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5348560894ba2561214f1f0b8f2c6fd368c6b7191e11070064e76583a7c47cb2", kill_on_drop: false }` [INFO] [stdout] 5348560894ba2561214f1f0b8f2c6fd368c6b7191e11070064e76583a7c47cb2