[INFO] fetching crate sodiumoxide_extras 0.1.0... [INFO] testing sodiumoxide_extras-0.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate sodiumoxide_extras 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sodiumoxide_extras 0.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sodiumoxide_extras 0.1.0 [INFO] finished tweaking crates.io crate sodiumoxide_extras 0.1.0 [INFO] tweaked toml for crates.io crate sodiumoxide_extras 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f523f351f3b5a87ff3e23f4ffbdb18cb6b10f2424c14038ab0ea81b3cdd7a3e [INFO] running `Command { std: "docker" "start" "-a" "9f523f351f3b5a87ff3e23f4ffbdb18cb6b10f2424c14038ab0ea81b3cdd7a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f523f351f3b5a87ff3e23f4ffbdb18cb6b10f2424c14038ab0ea81b3cdd7a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f523f351f3b5a87ff3e23f4ffbdb18cb6b10f2424c14038ab0ea81b3cdd7a3e", kill_on_drop: false }` [INFO] [stdout] 9f523f351f3b5a87ff3e23f4ffbdb18cb6b10f2424c14038ab0ea81b3cdd7a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d6fecdef54743e4c3fe66a6e083c9a15c8c909753f7f0db0feeaf4fa7347e9 [INFO] running `Command { std: "docker" "start" "-a" "b7d6fecdef54743e4c3fe66a6e083c9a15c8c909753f7f0db0feeaf4fa7347e9", kill_on_drop: false }` [INFO] [stderr] Compiling unwrap v1.1.0 [INFO] [stderr] Compiling sodiumoxide_extras v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #![forbid(exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(bad_style) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(bad_style) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(deprecated) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `drop_with_repr_extern` has been removed: drop flags have been removed [INFO] [stdout] --> src/lib.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(improper_ctypes) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(non_shorthand_field_patterns) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] 32 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(stable_features) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(unconditional_recursion) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:33:76 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(unknown_lints) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 34 | unknown_lints, unsafe_code, unused, unused_allocation, unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(unused) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 34 | unknown_lints, unsafe_code, unused, unused_allocation, unused_attributes, [INFO] [stdout] | ^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(unused_comparisons) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 35 | unused_comparisons, unused_features, unused_parens, while_true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deny(while_true) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 35 | unused_comparisons, unused_features, unused_parens, while_true)] [INFO] [stdout] | ^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref INIT_RESULT: Mutex> = Mutex::new(None); [INFO] [stdout] 64 | | static ref RANDOM_BYTES_IMPL: Mutex = Mutex::new(RandomBytesImpl::default()); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | #![deny(bad_style, deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref INIT_RESULT: Mutex> = Mutex::new(None); [INFO] [stdout] 64 | | static ref RANDOM_BYTES_IMPL: Mutex = Mutex::new(RandomBytesImpl::default()); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/lib.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | use libc::{c_char, c_int, c_void, size_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/lib.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | random: extern "C" fn() -> uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/lib.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | uniform: Option uint32_t>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/lib.rs:96:65 [INFO] [stdout] | [INFO] [stdout] 96 | uniform: Option uint32_t>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/lib.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | extern "C" fn random() -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sodiumoxide_extras` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b7d6fecdef54743e4c3fe66a6e083c9a15c8c909753f7f0db0feeaf4fa7347e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d6fecdef54743e4c3fe66a6e083c9a15c8c909753f7f0db0feeaf4fa7347e9", kill_on_drop: false }` [INFO] [stdout] b7d6fecdef54743e4c3fe66a6e083c9a15c8c909753f7f0db0feeaf4fa7347e9