[INFO] cloning repository https://github.com/numb86/brotli-compression [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/numb86/brotli-compression" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnumb86%2Fbrotli-compression", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnumb86%2Fbrotli-compression'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51dcca8b40b1a061189d85bbea81b8d5689df2ee [INFO] checking numb86/brotli-compression against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnumb86%2Fbrotli-compression" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/numb86/brotli-compression on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/numb86/brotli-compression [INFO] finished tweaking git repo https://github.com/numb86/brotli-compression [INFO] tweaked toml for git repo https://github.com/numb86/brotli-compression written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/numb86/brotli-compression already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8a372ff7abf0112c9e475f1c359eb35bc6df8b96eb65790e8a548a2b8095a2 [INFO] running `Command { std: "docker" "start" "-a" "7d8a372ff7abf0112c9e475f1c359eb35bc6df8b96eb65790e8a548a2b8095a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8a372ff7abf0112c9e475f1c359eb35bc6df8b96eb65790e8a548a2b8095a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8a372ff7abf0112c9e475f1c359eb35bc6df8b96eb65790e8a548a2b8095a2", kill_on_drop: false }` [INFO] [stdout] 7d8a372ff7abf0112c9e475f1c359eb35bc6df8b96eb65790e8a548a2b8095a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e965c354931612c5372588cc5a58cc51e5c5d1fa0b5441dfa7a0869882fc62b6 [INFO] running `Command { std: "docker" "start" "-a" "e965c354931612c5372588cc5a58cc51e5c5d1fa0b5441dfa7a0869882fc62b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking compress v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `JsValue`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `JsValue`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.08s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking compress v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] warning: `extern` fn uses type `JsValue`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `JsValue`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn compress_by_brotli(text: &str) -> Uint8Array { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e965c354931612c5372588cc5a58cc51e5c5d1fa0b5441dfa7a0869882fc62b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e965c354931612c5372588cc5a58cc51e5c5d1fa0b5441dfa7a0869882fc62b6", kill_on_drop: false }` [INFO] [stdout] e965c354931612c5372588cc5a58cc51e5c5d1fa0b5441dfa7a0869882fc62b6