[INFO] fetching crate woff2-sys 0.0.1... [INFO] checking woff2-sys-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate woff2-sys 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate woff2-sys 0.0.1 [INFO] finished tweaking crates.io crate woff2-sys 0.0.1 [INFO] tweaked toml for crates.io crate woff2-sys 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate woff2-sys 0.0.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding cpp v0.3.2 (available: v0.5.10) [INFO] [stderr] Adding cpp_build v0.3.2 (available: v0.5.10) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpp_synmap v0.3.0 [INFO] [stderr] Downloaded cpp_build v0.3.2 [INFO] [stderr] Downloaded cpp_macros v0.3.2 [INFO] [stderr] Downloaded cpp v0.3.2 [INFO] [stderr] Downloaded cpp_common v0.3.2 [INFO] [stderr] Downloaded cpp_syn v0.12.0 [INFO] [stderr] Downloaded cpp_synom v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b71763b5e55091a5e56945c3319e07c2c81bc497b69397fa4a9f4c829663388 [INFO] running `Command { std: "docker" "start" "-a" "1b71763b5e55091a5e56945c3319e07c2c81bc497b69397fa4a9f4c829663388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b71763b5e55091a5e56945c3319e07c2c81bc497b69397fa4a9f4c829663388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b71763b5e55091a5e56945c3319e07c2c81bc497b69397fa4a9f4c829663388", kill_on_drop: false }` [INFO] [stdout] 1b71763b5e55091a5e56945c3319e07c2c81bc497b69397fa4a9f4c829663388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 535f18f8fe1f274e7eca210640c47e9b064ab7c1ed7582c77f2b31a6222005d3 [INFO] running `Command { std: "docker" "start" "-a" "535f18f8fe1f274e7eca210640c47e9b064ab7c1ed7582c77f2b31a6222005d3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpp_synom v0.12.0 [INFO] [stderr] Compiling cpp_syn v0.12.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling cpp_common v0.3.2 [INFO] [stderr] Compiling cpp_synmap v0.3.0 [INFO] [stderr] Compiling cpp_build v0.3.2 [INFO] [stderr] Compiling cpp_macros v0.3.2 [INFO] [stderr] Checking cpp v0.3.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling woff2-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | / cpp!([data as "const uint8_t *", length as "size_t", result as "uint8_t *", result_length as "size_t *", extended_metadata as "const ch... [INFO] [stdout] 71 | | { [INFO] [stdout] 72 | | string copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] ... | [INFO] [stdout] 79 | | return ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] 80 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: message: expected suffix token ,, got [data as "const uint8_t *", length as "size_t", result as "uint8_t *", [INFO] [stdout] result_length as "size_t *", extended_metadata as "const char *", [INFO] [stdout] extended_metadata_length as "size_t", brotli_quality as "int", [INFO] [stdout] allow_transforms as "bool"] -> bool as "bool" [INFO] [stdout] { [INFO] [stdout] string [INFO] [stdout] copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] struct WOFF2Params params; params.extended_metadata = [INFO] [stdout] copyOfExtendedMetadata; params.brotli_quality = brotli_quality; [INFO] [stdout] params.allow_transforms = allow_transforms; return [INFO] [stdout] ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] }), 0).1 [INFO] [stdout] = note: this error originates in the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | / cpp!([data as "const uint8_t *", length as "size_t", result as "uint8_t *", result_length as "size_t *", extended_metadata as "const ch... [INFO] [stdout] 71 | | { [INFO] [stdout] 72 | | string copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] ... | [INFO] [stdout] 79 | | return ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] 80 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: message: expected suffix token ,, got [data as "const uint8_t *", length as "size_t", result as "uint8_t *", [INFO] [stdout] result_length as "size_t *", extended_metadata as "const char *", [INFO] [stdout] extended_metadata_length as "size_t", brotli_quality as "int", [INFO] [stdout] allow_transforms as "bool"] -> bool as "bool" [INFO] [stdout] { [INFO] [stdout] string [INFO] [stdout] copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] struct WOFF2Params params; params.extended_metadata = [INFO] [stdout] copyOfExtendedMetadata; params.brotli_quality = brotli_quality; [INFO] [stdout] params.allow_transforms = allow_transforms; return [INFO] [stdout] ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] }), 0).1 [INFO] [stdout] = note: this error originates in the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `__cpp_closure_impl` in this scope [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | / cpp!([data as "const uint8_t *", length as "size_t", result as "uint8_t *", result_length as "size_t *", extended_metadata as "const ch... [INFO] [stdout] 71 | | { [INFO] [stdout] 72 | | string copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] ... | [INFO] [stdout] 79 | | return ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] 80 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let mut woffFontBytesLength = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `__cpp_closure_impl` in this scope [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | / cpp!([data as "const uint8_t *", length as "size_t", result as "uint8_t *", result_length as "size_t *", extended_metadata as "const ch... [INFO] [stdout] 71 | | { [INFO] [stdout] 72 | | string copyOfExtendedMetadata(extended_metadata, extended_metadata_length); [INFO] [stdout] ... | [INFO] [stdout] 79 | | return ConvertTTFToWOFF2(data, length, result, result_length, params); [INFO] [stdout] 80 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let mut woffFontBytesLength = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `woff2-sys` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `woff2-sys` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "535f18f8fe1f274e7eca210640c47e9b064ab7c1ed7582c77f2b31a6222005d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "535f18f8fe1f274e7eca210640c47e9b064ab7c1ed7582c77f2b31a6222005d3", kill_on_drop: false }` [INFO] [stdout] 535f18f8fe1f274e7eca210640c47e9b064ab7c1ed7582c77f2b31a6222005d3