[INFO] fetching crate zaplib 0.0.3...
[INFO] checking zaplib-0.0.3 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-2
[INFO] extracting crate zaplib 0.0.3 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate zaplib 0.0.3 on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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.5 (available: v0.9.2)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.44)
[INFO] [stderr]       Adding ureq v2.12.1 (available: v3.1.4)
[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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cce79a7a359c544765492d4c47b2b35822b541c4fc8dc04976e41cb4f90d7b59
[INFO] running `Command { std: "docker" "start" "-a" "cce79a7a359c544765492d4c47b2b35822b541c4fc8dc04976e41cb4f90d7b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cce79a7a359c544765492d4c47b2b35822b541c4fc8dc04976e41cb4f90d7b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cce79a7a359c544765492d4c47b2b35822b541c4fc8dc04976e41cb4f90d7b59", kill_on_drop: false }`
[INFO] [stdout] cce79a7a359c544765492d4c47b2b35822b541c4fc8dc04976e41cb4f90d7b59
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48be6afad9dff82ea775dc1783c1090e783a35e171bbf61f9f1b5b8173fb81a7
[INFO] running `Command { std: "docker" "start" "-a" "48be6afad9dff82ea775dc1783c1090e783a35e171bbf61f9f1b5b8173fb81a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking 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]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking zaplib_vector v0.0.3
[INFO] [stderr]     Checking zaplib_shader_compiler v0.0.3
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking 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: 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: `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: `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] 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<Event>) -> 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<Event>) -> bool + 'static,
[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<Event>) -> 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<Event>) -> 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] 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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zaplib` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "48be6afad9dff82ea775dc1783c1090e783a35e171bbf61f9f1b5b8173fb81a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48be6afad9dff82ea775dc1783c1090e783a35e171bbf61f9f1b5b8173fb81a7", kill_on_drop: false }`
[INFO] [stdout] 48be6afad9dff82ea775dc1783c1090e783a35e171bbf61f9f1b5b8173fb81a7
