[INFO] fetching crate zaplib 0.0.3... [INFO] testing zaplib-0.0.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate zaplib 0.0.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate zaplib 0.0.3 [INFO] finished tweaking crates.io crate zaplib 0.0.3 [INFO] tweaked toml for crates.io crate zaplib 0.0.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zaplib 0.0.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.47) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.3.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zaplib_vector v0.0.3 [INFO] [stderr] Downloaded zaplib_cef_sys v0.0.3 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded zaplib_cef v0.0.3 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded zaplib_x11_sys v0.0.3 [INFO] [stderr] Downloaded zaplib_glx_sys v0.0.3 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded zaplib_shader_compiler v0.0.3 [INFO] [stderr] Downloaded zaplib_objc_sys v0.0.3 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 258422cde1b3811c2e18dd36cc51f58c95cb5deeeb6da472b3a038a6e0e69523 [INFO] running `Command { std: "docker" "start" "-a" "258422cde1b3811c2e18dd36cc51f58c95cb5deeeb6da472b3a038a6e0e69523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258422cde1b3811c2e18dd36cc51f58c95cb5deeeb6da472b3a038a6e0e69523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258422cde1b3811c2e18dd36cc51f58c95cb5deeeb6da472b3a038a6e0e69523", kill_on_drop: false }` [INFO] [stdout] 258422cde1b3811c2e18dd36cc51f58c95cb5deeeb6da472b3a038a6e0e69523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b827128ddf110ac55b69dc3f5103741af650036c65bd73157f432456b53fc2 [INFO] running `Command { std: "docker" "start" "-a" "52b827128ddf110ac55b69dc3f5103741af650036c65bd73157f432456b53fc2", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zaplib_x11_sys v0.0.3 [INFO] [stderr] Compiling zaplib_glx_sys v0.0.3 [INFO] [stderr] Compiling zaplib_vector v0.0.3 [INFO] [stderr] Compiling zaplib_shader_compiler v0.0.3 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling zaplib v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/lib.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std_shader::*` [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub use std_shader::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layout_api::*` [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub use layout_api::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough [INFO] [stdout] --> src/cx_linux.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | Some(&mut event_handler as *const dyn FnMut(&mut Cx, &mut Event) as *mut dyn FnMut(&mut Cx, &mut Event)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `F` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 9 | F: FnMut(&mut Cx, &mut Event) + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `windows_need_repaint` is never read [INFO] [stdout] --> src/cx_linux.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 187 | ... windows_need_repaint -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough [INFO] [stdout] --> src/cx_xlib.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | &mut event_handler as *const dyn FnMut(&mut XlibApp, &mut Vec) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `F` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 176 | F: FnMut(&mut XlibApp, &mut Vec) -> bool + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fonts.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | let mut fonts_atlas = &mut cx.fonts_data.write().unwrap().fonts_atlas; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zaplib` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52b827128ddf110ac55b69dc3f5103741af650036c65bd73157f432456b53fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b827128ddf110ac55b69dc3f5103741af650036c65bd73157f432456b53fc2", kill_on_drop: false }` [INFO] [stdout] 52b827128ddf110ac55b69dc3f5103741af650036c65bd73157f432456b53fc2