[INFO] fetching crate oniguruma 0.3.0... [INFO] checking oniguruma-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate oniguruma 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate oniguruma 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oniguruma 0.3.0 [INFO] finished tweaking crates.io crate oniguruma 0.3.0 [INFO] tweaked toml for crates.io crate oniguruma 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages [INFO] [stderr] Adding bitflags v0.3.3 (latest: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42abbf5e4fd1af2f9b2753e46864d0759e728e3ad5c66769cd4c23421b349b81 [INFO] running `Command { std: "docker" "start" "-a" "42abbf5e4fd1af2f9b2753e46864d0759e728e3ad5c66769cd4c23421b349b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42abbf5e4fd1af2f9b2753e46864d0759e728e3ad5c66769cd4c23421b349b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42abbf5e4fd1af2f9b2753e46864d0759e728e3ad5c66769cd4c23421b349b81", kill_on_drop: false }` [INFO] [stdout] 42abbf5e4fd1af2f9b2753e46864d0759e728e3ad5c66769cd4c23421b349b81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb8127b8f00ad696f856dd625ea64e4e243989d4f9f92e08566759a9d6ef27c2 [INFO] running `Command { std: "docker" "start" "-a" "eb8127b8f00ad696f856dd625ea64e4e243989d4f9f92e08566759a9d6ef27c2", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking oniguruma v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/encoding.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub static ENCODING_UTF8: &'static Encoding = &OnigEncodingUTF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | pub static SYNTAX_ASIS: &'static Syntax = &OnigSyntaxASIS; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | pub static SYNTAX_POSIX_BASIC: &'static Syntax = &OnigSyntaxPosixBasic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:35:54 [INFO] [stdout] | [INFO] [stdout] 35 | pub static SYNTAX_POSIX_EXTENDED: &'static Syntax = &OnigSyntaxPosixExtended; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | pub static SYNTAX_EMACS: &'static Syntax = &OnigSyntaxEmacs; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub static SYNTAX_GREP: &'static Syntax = &OnigSyntaxGrep; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | pub static SYNTAX_GNU_REGEX: &'static Syntax = &OnigSyntaxGnuRegex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | pub static SYNTAX_JAVA: &'static Syntax = &OnigSyntaxJava; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | pub static SYNTAX_PERL: &'static Syntax = &OnigSyntaxPerl; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | pub static SYNTAX_PERL_NG: &'static Syntax = &OnigSyntaxPerl_NG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | pub static SYNTAX_RUBY: &'static Syntax = &OnigSyntaxRuby; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oniguruma` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/encoding.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub static ENCODING_UTF8: &'static Encoding = &OnigEncodingUTF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | pub static SYNTAX_ASIS: &'static Syntax = &OnigSyntaxASIS; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | pub static SYNTAX_POSIX_BASIC: &'static Syntax = &OnigSyntaxPosixBasic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:35:54 [INFO] [stdout] | [INFO] [stdout] 35 | pub static SYNTAX_POSIX_EXTENDED: &'static Syntax = &OnigSyntaxPosixExtended; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | pub static SYNTAX_EMACS: &'static Syntax = &OnigSyntaxEmacs; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub static SYNTAX_GREP: &'static Syntax = &OnigSyntaxGrep; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | pub static SYNTAX_GNU_REGEX: &'static Syntax = &OnigSyntaxGnuRegex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | pub static SYNTAX_JAVA: &'static Syntax = &OnigSyntaxJava; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | pub static SYNTAX_PERL: &'static Syntax = &OnigSyntaxPerl; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | pub static SYNTAX_PERL_NG: &'static Syntax = &OnigSyntaxPerl_NG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/syntax.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | pub static SYNTAX_RUBY: &'static Syntax = &OnigSyntaxRuby; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oniguruma` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "eb8127b8f00ad696f856dd625ea64e4e243989d4f9f92e08566759a9d6ef27c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8127b8f00ad696f856dd625ea64e4e243989d4f9f92e08566759a9d6ef27c2", kill_on_drop: false }` [INFO] [stdout] eb8127b8f00ad696f856dd625ea64e4e243989d4f9f92e08566759a9d6ef27c2