[INFO] fetching crate oniguruma 0.3.0... [INFO] checking oniguruma-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate oniguruma 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate oniguruma 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.3.3 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53c15e85e9321d980f39662a327d823876b0fe8d9281a2484191fd9660f307c3 [INFO] running `Command { std: "docker" "start" "-a" "53c15e85e9321d980f39662a327d823876b0fe8d9281a2484191fd9660f307c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53c15e85e9321d980f39662a327d823876b0fe8d9281a2484191fd9660f307c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c15e85e9321d980f39662a327d823876b0fe8d9281a2484191fd9660f307c3", kill_on_drop: false }` [INFO] [stdout] 53c15e85e9321d980f39662a327d823876b0fe8d9281a2484191fd9660f307c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ab92e0ff635edc62a1deb17bacc438b4f714de4c1ae5eec434ad4a8ebd1e2b6 [INFO] running `Command { std: "docker" "start" "-a" "2ab92e0ff635edc62a1deb17bacc438b4f714de4c1ae5eec434ad4a8ebd1e2b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking oniguruma v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | /// Regex parsing, compilation and evaluation options. [INFO] [stdout] 5 | | flags Options: c_uint { [INFO] [stdout] 6 | | /// Default options. This is both compile and search time option. [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | /// Regex parsing, compilation and evaluation options. [INFO] [stdout] 5 | | flags Options: c_uint { [INFO] [stdout] 6 | | /// Default options. This is both compile and search time option. [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | flags SyntaxOperator: u64 { [INFO] [stdout] 41 | | /// `.` [INFO] [stdout] 42 | | const SYNTAX_OPERATOR_DOT_ANYCHAR = 1u64 << 1, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | flags SyntaxOperator: u64 { [INFO] [stdout] 41 | | /// `.` [INFO] [stdout] 42 | | const SYNTAX_OPERATOR_DOT_ANYCHAR = 1u64 << 1, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / bitflags! { [INFO] [stdout] 139 | | flags SyntaxBehavior: c_uint { [INFO] [stdout] 140 | | /// `?, *, +, {n,m}` [INFO] [stdout] 141 | | const SYNTAX_BEHAVIOR_CONTEXT_INDEP_REPEAT_OPS = 1u32 << 0, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / bitflags! { [INFO] [stdout] 139 | | flags SyntaxBehavior: c_uint { [INFO] [stdout] 140 | | /// `?, *, +, {n,m}` [INFO] [stdout] 141 | | const SYNTAX_BEHAVIOR_CONTEXT_INDEP_REPEAT_OPS = 1u32 << 0, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | /// Regex parsing, compilation and evaluation options. [INFO] [stdout] 5 | | flags Options: c_uint { [INFO] [stdout] 6 | | /// Default options. This is both compile and search time option. [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | /// Regex parsing, compilation and evaluation options. [INFO] [stdout] 5 | | flags Options: c_uint { [INFO] [stdout] 6 | | /// Default options. This is both compile and search time option. [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | flags SyntaxOperator: u64 { [INFO] [stdout] 41 | | /// `.` [INFO] [stdout] 42 | | const SYNTAX_OPERATOR_DOT_ANYCHAR = 1u64 << 1, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | flags SyntaxOperator: u64 { [INFO] [stdout] 41 | | /// `.` [INFO] [stdout] 42 | | const SYNTAX_OPERATOR_DOT_ANYCHAR = 1u64 << 1, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / bitflags! { [INFO] [stdout] 139 | | flags SyntaxBehavior: c_uint { [INFO] [stdout] 140 | | /// `?, *, +, {n,m}` [INFO] [stdout] 141 | | const SYNTAX_BEHAVIOR_CONTEXT_INDEP_REPEAT_OPS = 1u32 << 0, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / bitflags! { [INFO] [stdout] 139 | | flags SyntaxBehavior: c_uint { [INFO] [stdout] 140 | | /// `?, *, +, {n,m}` [INFO] [stdout] 141 | | const SYNTAX_BEHAVIOR_CONTEXT_INDEP_REPEAT_OPS = 1u32 << 0, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/regex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut err_buff = &mut [0 as u8; 90]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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; 8 warnings emitted [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; 8 warnings emitted [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/regex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut err_buff = &mut [0 as u8; 90]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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; 8 warnings emitted [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; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ab92e0ff635edc62a1deb17bacc438b4f714de4c1ae5eec434ad4a8ebd1e2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab92e0ff635edc62a1deb17bacc438b4f714de4c1ae5eec434ad4a8ebd1e2b6", kill_on_drop: false }` [INFO] [stdout] 2ab92e0ff635edc62a1deb17bacc438b4f714de4c1ae5eec434ad4a8ebd1e2b6