[INFO] fetching crate imgui 0.12.0... [INFO] testing imgui-0.12.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate imgui 0.12.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate imgui 0.12.0 [INFO] finished tweaking crates.io crate imgui 0.12.0 [INFO] tweaked toml for crates.io crate imgui 0.12.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate imgui 0.12.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chlorine v1.0.13 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded imgui-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 054d800c0bd2d573f2a8b974683a90f4047ccd9889dd3e258e4d7f89b45a7114 [INFO] running `Command { std: "docker" "start" "-a" "054d800c0bd2d573f2a8b974683a90f4047ccd9889dd3e258e4d7f89b45a7114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "054d800c0bd2d573f2a8b974683a90f4047ccd9889dd3e258e4d7f89b45a7114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054d800c0bd2d573f2a8b974683a90f4047ccd9889dd3e258e4d7f89b45a7114", kill_on_drop: false }` [INFO] [stdout] 054d800c0bd2d573f2a8b974683a90f4047ccd9889dd3e258e4d7f89b45a7114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6254e2f0b5b22ece81701e001a96887c7c0b1602e126ca3e1e2583e2461ec893 [INFO] running `Command { std: "docker" "start" "-a" "6254e2f0b5b22ece81701e001a96887c7c0b1602e126ca3e1e2583e2461ec893", kill_on_drop: false }` [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling chlorine v1.0.13 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Compiling imgui v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 - if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] 103 + if std::ptr::fn_addr_eq(get_clipboard_text_fn, get_clipboard_text as unsafe extern "C" fn(*mut c_void) -> *const i8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 132 - if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] 132 + if std::ptr::fn_addr_eq(set_clipboard_text_fn, set_clipboard_text as unsafe extern "C" fn(*mut c_void, *const i8)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:437:10 [INFO] [stdout] | [INFO] [stdout] 437 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 441 | ) -> Image<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 441 - ) -> Image<'_> { [INFO] [stdout] 441 + ) -> Image<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 455 | ) -> ImageQuad<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 455 - ) -> ImageQuad<'_> { [INFO] [stdout] 455 + ) -> ImageQuad<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 466 | ) -> ImageRounded<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 466 - ) -> ImageRounded<'_> { [INFO] [stdout] 466 + ) -> ImageRounded<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s [INFO] running `Command { std: "docker" "inspect" "6254e2f0b5b22ece81701e001a96887c7c0b1602e126ca3e1e2583e2461ec893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6254e2f0b5b22ece81701e001a96887c7c0b1602e126ca3e1e2583e2461ec893", kill_on_drop: false }` [INFO] [stdout] 6254e2f0b5b22ece81701e001a96887c7c0b1602e126ca3e1e2583e2461ec893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a742f86da2a83f03e805fa097747e94976d412e7de552c1c201559744437a50 [INFO] running `Command { std: "docker" "start" "-a" "5a742f86da2a83f03e805fa097747e94976d412e7de552c1c201559744437a50", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 - if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] 103 + if std::ptr::fn_addr_eq(get_clipboard_text_fn, get_clipboard_text as unsafe extern "C" fn(*mut c_void) -> *const i8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 132 - if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] 132 + if std::ptr::fn_addr_eq(set_clipboard_text_fn, set_clipboard_text as unsafe extern "C" fn(*mut c_void, *const i8)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:437:10 [INFO] [stdout] | [INFO] [stdout] 437 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 441 | ) -> Image<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 441 - ) -> Image<'_> { [INFO] [stdout] 441 + ) -> Image<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 455 | ) -> ImageQuad<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 455 - ) -> ImageQuad<'_> { [INFO] [stdout] 455 + ) -> ImageQuad<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 466 | ) -> ImageRounded<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 466 - ) -> ImageRounded<'_> { [INFO] [stdout] 466 + ) -> ImageRounded<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling imgui v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 - if get_clipboard_text_fn == get_clipboard_text { [INFO] [stdout] 103 + if std::ptr::fn_addr_eq(get_clipboard_text_fn, get_clipboard_text as unsafe extern "C" fn(*mut c_void) -> *const i8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/clipboard.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 132 - if set_clipboard_text_fn == set_clipboard_text { [INFO] [stdout] 132 + if std::ptr::fn_addr_eq(set_clipboard_text_fn, set_clipboard_text as unsafe extern "C" fn(*mut c_void, *const i8)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:437:10 [INFO] [stdout] | [INFO] [stdout] 437 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 441 | ) -> Image<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 441 - ) -> Image<'_> { [INFO] [stdout] 441 + ) -> Image<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 455 | ) -> ImageQuad<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 455 - ) -> ImageQuad<'_> { [INFO] [stdout] 455 + ) -> ImageQuad<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/draw_list.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | &'ui self, [INFO] [stdout] | ^^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 466 | ) -> ImageRounded<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ui` [INFO] [stdout] | [INFO] [stdout] 466 - ) -> ImageRounded<'_> { [INFO] [stdout] 466 + ) -> ImageRounded<'ui> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "5a742f86da2a83f03e805fa097747e94976d412e7de552c1c201559744437a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a742f86da2a83f03e805fa097747e94976d412e7de552c1c201559744437a50", kill_on_drop: false }` [INFO] [stdout] 5a742f86da2a83f03e805fa097747e94976d412e7de552c1c201559744437a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 482ec41069fcdaa4689cd9de63e99e480d4855e781424b2fb50611c569f97c68 [INFO] running `Command { std: "docker" "start" "-a" "482ec41069fcdaa4689cd9de63e99e480d4855e781424b2fb50611c569f97c68", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/clipboard.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 103 | if get_clipboard_text_fn == get_clipboard_text { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 103 - if get_clipboard_text_fn == get_clipboard_text { [INFO] [stderr] 103 + if std::ptr::fn_addr_eq(get_clipboard_text_fn, get_clipboard_text as unsafe extern "C" fn(*mut c_void) -> *const i8) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/clipboard.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | if set_clipboard_text_fn == set_clipboard_text { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 132 - if set_clipboard_text_fn == set_clipboard_text { [INFO] [stderr] 132 + if std::ptr::fn_addr_eq(set_clipboard_text_fn, set_clipboard_text as unsafe extern "C" fn(*mut c_void, *const i8)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/draw_list.rs:437:10 [INFO] [stderr] | [INFO] [stderr] 437 | &'ui self, [INFO] [stderr] | ^^^ the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 441 | ) -> Image<'_> { [INFO] [stderr] | -- the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'ui` [INFO] [stderr] | [INFO] [stderr] 441 - ) -> Image<'_> { [INFO] [stderr] 441 + ) -> Image<'ui> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/draw_list.rs:449:10 [INFO] [stderr] | [INFO] [stderr] 449 | &'ui self, [INFO] [stderr] | ^^^ the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 455 | ) -> ImageQuad<'_> { [INFO] [stderr] | -- the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'ui` [INFO] [stderr] | [INFO] [stderr] 455 - ) -> ImageQuad<'_> { [INFO] [stderr] 455 + ) -> ImageQuad<'ui> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/draw_list.rs:461:10 [INFO] [stderr] | [INFO] [stderr] 461 | &'ui self, [INFO] [stderr] | ^^^ the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 466 | ) -> ImageRounded<'_> { [INFO] [stderr] | -- the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'ui` [INFO] [stderr] | [INFO] [stderr] 466 - ) -> ImageRounded<'_> { [INFO] [stderr] 466 + ) -> ImageRounded<'ui> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `imgui` (lib) generated 5 warnings (run `cargo fix --lib -p imgui` to apply 3 suggestions) [INFO] [stderr] warning: `imgui` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/imgui-5a8a005ecdaf018c) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test color::test_f32_to_u8_sat_exhaustive ... ignored [INFO] [stdout] test color::check_sat ... ok [INFO] [stdout] test context::test_default_log_filename ... ok [INFO] [stdout] test color::test_saturate_all_u8s ... ok [INFO] [stdout] test context::test_default_ini_filename ... ok [INFO] [stdout] test context::test_drop_suspended ... ok [INFO] [stdout] test context::test_drop_clears_current_context ... ok [INFO] [stdout] test context::test_ini_load_save ... ok [INFO] [stdout] test context::test_new_suspended ... ok [INFO] [stdout] test context::test_set_ini_filename ... ok [INFO] [stdout] test context::test_one_context ... ok [INFO] [stdout] test context::test_suspend ... ok [INFO] [stdout] test fonts::atlas::test_font_config_default ... ok [INFO] [stdout] test context::test_suspend_failure ... ok [INFO] [stdout] test context::test_shared_font_atlas ... ok [INFO] [stdout] test fonts::atlas::test_font_atlas_memory_layout ... ok [INFO] [stdout] test fonts::font::test_font_memory_layout ... ok [INFO] [stdout] test fonts::glyph::test_font_glyph_memory_layout ... ok [INFO] [stdout] test input::mouse::test_mouse_button_variants ... ok [INFO] [stdout] test internal::test_imvector_memory_layout ... ok [INFO] [stdout] test io::test_io_memory_layout ... ok [INFO] [stdout] test io::test_nav_input_variants ... ok [INFO] [stdout] test input::mouse::test_mouse_double_click ... ok [INFO] [stdout] test input::mouse::test_set_get_mouse_cursor ... ok [INFO] [stdout] test render::draw_data::test_drawdata_memory_layout ... ok [INFO] [stdout] test render::draw_data::test_drawvert_memory_layout ... ok [INFO] [stdout] test render::draw_data::test_owneddrawdata_default ... ok [INFO] [stdout] test context::test_suspend_activate ... ok [INFO] [stdout] test context::test_set_log_filename ... ok [INFO] [stdout] test render::renderer::test_texture_id_memory_layout ... ok [INFO] [stdout] test string::test_imstring_constructors ... ok [INFO] [stdout] test string::test_imstring_fmt_write ... ok [INFO] [stdout] test string::test_imstring_interior_nul ... ok [INFO] [stdout] test string::test_imstring_operations ... ok [INFO] [stdout] test string::test_imstring_refresh_len ... ok [INFO] [stdout] test list_clipper::cpp_style_usage ... ok [INFO] [stdout] test style::test_style_color_variant_names ... ok [INFO] [stdout] test style::test_style_color_variants ... ok [INFO] [stdout] test style::test_style_memory_layout ... ok [INFO] [stdout] test list_clipper::iterator_usage ... ok [INFO] [stdout] test render::draw_data::test_owneddrawdata_drop ... ok [INFO] [stdout] test render::draw_data::test_owneddrawdata_from_drawdata ... ok [INFO] [stdout] test style::test_style_color_indexing ... ok [INFO] [stdout] test style::test_style_scaling ... ok [INFO] [stdout] test input::mouse::test_mouse_drags ... ok [INFO] [stdout] test input::mouse::test_mouse_down_clicked_released ... ok [INFO] [stdout] test input::mouse::test_mouse_cursor_variants ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests imgui [INFO] [stdout] test result: ok. 46 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test src/drag_drop.rs - drag_drop::DragDropSource (line 87) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::DragDropSource<'ui,T>::begin (line 155) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::DragDropSource<'ui,T>::begin_payload (line 208) - compile ... ok [INFO] [stdout] test src/drag_drop.rs - drag_drop::DragDropTarget (line 335) - compile ... ok [INFO] [stdout] test src/context.rs - context::Context (line 35) ... ok [INFO] [stdout] test src/draw_list.rs - draw_list::DrawListMut<'ui>::channels_split (line 180) - compile ... ok [INFO] [stdout] test src/context.rs - context::Context (line 27) ... ok [INFO] [stdout] test src/context.rs - context::SuspendedContext (line 292) ... ok [INFO] [stdout] test src/lib.rs - Ui::get_window_draw_list (line 855) - compile ... ok [INFO] [stdout] test src/lib.rs - Ui::disabled (line 684) ... ok [INFO] [stdout] test src/lib.rs - Ui::begin_disabled (line 657) ... ok [INFO] [stdout] test src/draw_list.rs - draw_list::DrawListMut<'ui>::add_image (line 423) ... ok [INFO] [stdout] test src/context.rs - context::Context (line 43) ... ok [INFO] [stdout] test src/lib.rs - Ui::window (line 366) - compile ... ok [INFO] [stdout] test src/lib.rs - Ui::get_window_draw_list (line 870) ... ok [INFO] [stdout] test src/lib.rs - Ui::tooltip_text (line 620) ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 392) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 404) - compile ... ok [INFO] [stdout] test src/color.rs - color::ImColor32 (line 19) ... ok [INFO] [stdout] test src/widget/color_editors.rs - widget::color_editors::ColorButton (line 1073) - compile ... ok [INFO] [stdout] test src/lib.rs - Ui::tooltip (line 590) ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_var (line 75) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_font (line 22) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_id (line 423) - compile ... ok [INFO] [stdout] test src/lib.rs - Ui::window (line 378) - compile ... ok [INFO] [stdout] test src/widget/color_editors.rs - widget::color_editors::ColorEdit4 (line 397) - compile ... ok [INFO] [stdout] test src/widget/color_editors.rs - widget::color_editors::ColorPicker3 (line 615) - compile ... ok [INFO] [stdout] test src/popups.rs - popups::PopupModal (line 10) - compile ... ok [INFO] [stdout] test src/stacks.rs - stacks::Ui::push_style_color (line 49) - compile ... ok [INFO] [stdout] test src/widget/color_editors.rs - widget::color_editors::ColorPicker4 (line 838) - compile ... ok [INFO] [stdout] test src/widget/progress_bar.rs - widget::progress_bar::ProgressBar (line 10) - compile ... ok [INFO] [stdout] test src/widget/color_editors.rs - widget::color_editors::ColorEdit3 (line 177) - compile ... ok [INFO] [stdout] test src/widget/combo_box.rs - widget::combo_box::Ui::begin_combo (line 206) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::Slider<'ui,Label,Data,Format>::range (line 93) - compile ... ok [INFO] [stdout] test src/widget/tab.rs - widget::tab (line 2) - compile ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::range (line 228) ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::AngleSlider::range_degrees (line 320) ... ok [INFO] [stdout] test src/widget/slider.rs - widget::slider::VerticalSlider::new (line 198) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "482ec41069fcdaa4689cd9de63e99e480d4855e781424b2fb50611c569f97c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482ec41069fcdaa4689cd9de63e99e480d4855e781424b2fb50611c569f97c68", kill_on_drop: false }` [INFO] [stdout] 482ec41069fcdaa4689cd9de63e99e480d4855e781424b2fb50611c569f97c68