[INFO] fetching crate imgui-log 0.1.0... [INFO] testing imgui-log-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate imgui-log 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate imgui-log 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate imgui-log 0.1.0 [INFO] tweaked toml for crates.io crate imgui-log 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate imgui-log 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate imgui-log 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1851c95ca4466c97d5279610c499e681161c62e5586f1cd61b7435f37ec15d9 [INFO] running `Command { std: "docker" "start" "-a" "c1851c95ca4466c97d5279610c499e681161c62e5586f1cd61b7435f37ec15d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1851c95ca4466c97d5279610c499e681161c62e5586f1cd61b7435f37ec15d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1851c95ca4466c97d5279610c499e681161c62e5586f1cd61b7435f37ec15d9", kill_on_drop: false }` [INFO] [stdout] c1851c95ca4466c97d5279610c499e681161c62e5586f1cd61b7435f37ec15d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9937451de6666fa27f3a4d2c6295f8bc674e1c3948247366827a83581ba87f1c [INFO] running `Command { std: "docker" "start" "-a" "9937451de6666fa27f3a4d2c6295f8bc674e1c3948247366827a83581ba87f1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling imgui-sys v0.2.0 [INFO] [stderr] Compiling imgui v0.2.1 [INFO] [stderr] Compiling imgui-log v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "9937451de6666fa27f3a4d2c6295f8bc674e1c3948247366827a83581ba87f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9937451de6666fa27f3a4d2c6295f8bc674e1c3948247366827a83581ba87f1c", kill_on_drop: false }` [INFO] [stdout] 9937451de6666fa27f3a4d2c6295f8bc674e1c3948247366827a83581ba87f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c486377073095e4b7234cbdbcb6bc8003b1f6869eafa5e7acb6c25fa25a2c28 [INFO] running `Command { std: "docker" "start" "-a" "8c486377073095e4b7234cbdbcb6bc8003b1f6869eafa5e7acb6c25fa25a2c28", kill_on_drop: false }` [INFO] [stderr] Compiling imgui-log v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "8c486377073095e4b7234cbdbcb6bc8003b1f6869eafa5e7acb6c25fa25a2c28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c486377073095e4b7234cbdbcb6bc8003b1f6869eafa5e7acb6c25fa25a2c28", kill_on_drop: false }` [INFO] [stdout] 8c486377073095e4b7234cbdbcb6bc8003b1f6869eafa5e7acb6c25fa25a2c28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1f5e7d6968054ddfe1dabc12997a6dca2830dcdb52e755a86742c625cabb9c7 [INFO] running `Command { std: "docker" "start" "-a" "a1f5e7d6968054ddfe1dabc12997a6dca2830dcdb52e755a86742c625cabb9c7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/imgui_log-1da9c405738223a4) [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 imgui_log [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 38) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `LoggerConfig` in this scope [INFO] [stdout] --> src/lib.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | imgui_log::init_with_config(LoggerConfig::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LoggerConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use imgui_log::LoggerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LogColors` in this scope [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | .colors(LogColors { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use imgui_log::LogColors; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `imgui_log::amethyst_imgui` [INFO] [stdout] --> src/lib.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | use imgui_log::amethyst_imgui::RenderImgui; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `amethyst_imgui` in `imgui_log` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_system` in crate `imgui_log` [INFO] [stdout] --> src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | .with(imgui_log::create_system(), "imgui_log", &[]) // <--- ADDED LINE [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `imgui_log` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `StringBindings` in this scope [INFO] [stdout] --> src/lib.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | .with_bundle(InputBundle::::default())? [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `DefaultBackend` in this scope [INFO] [stdout] --> src/lib.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | RenderingBundle::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `StringBindings` in this scope [INFO] [stdout] --> src/lib.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | .with_plugin(RenderImgui::::default()), // <--- ADDED LINE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Example` in this scope [INFO] [stdout] --> src/lib.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | Application::build("/", Example)?.build(game_data)?.run(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `application_root_dir` in this scope [INFO] [stdout] --> src/lib.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let app_root = application_root_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `GameDataBuilder` in this scope [INFO] [stdout] --> src/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let game_data = GameDataBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `GameDataBuilder` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `InputBundle` in this scope [INFO] [stdout] --> src/lib.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | .with_bundle(InputBundle::::default())? [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `InputBundle` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RenderingBundle` in this scope [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | RenderingBundle::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RenderingBundle` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RenderToWindow` in this scope [INFO] [stdout] --> src/lib.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | RenderToWindow::from_config_path(display_config_path) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RenderToWindow` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Application` in this scope [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Application::build("/", Example)?.build(game_data)?.run(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Application` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - (line 15) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let ui: imgui::Ui = ... ; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 21 - let ui: imgui::Ui = ... ; [INFO] [stdout] 21 + let ui: imgui::Ui = .. ; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 21 - let ui: imgui::Ui = ... ; [INFO] [stdout] 21 + let ui: imgui::Ui = ..= ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let ui: imgui::Ui = ... ; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 21 - let ui: imgui::Ui = ... ; [INFO] [stdout] 21 + let ui: imgui::Ui = .. ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `im_str` in this scope [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let window = imgui::Window::new(im_str!("My Log")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use imgui::im_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | info!("Hello World"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for struct `LogWindow` in the current scope [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | log.draw(&ui, window); [INFO] [stdout] | ^^^^ method not found in `LogWindow` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0586, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a1f5e7d6968054ddfe1dabc12997a6dca2830dcdb52e755a86742c625cabb9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f5e7d6968054ddfe1dabc12997a6dca2830dcdb52e755a86742c625cabb9c7", kill_on_drop: false }` [INFO] [stdout] a1f5e7d6968054ddfe1dabc12997a6dca2830dcdb52e755a86742c625cabb9c7