[INFO] fetching crate crndm 0.1.0... [INFO] checking crndm-0.1.0 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate crndm 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate crndm 0.1.0 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crndm 0.1.0 [INFO] finished tweaking crates.io crate crndm 0.1.0 [INFO] tweaked toml for crates.io crate crndm 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate crndm 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 565a61590b6c779bb5228d9282d26a744f6e4c7a80338e2601b8bd7dbd172177 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "565a61590b6c779bb5228d9282d26a744f6e4c7a80338e2601b8bd7dbd172177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "565a61590b6c779bb5228d9282d26a744f6e4c7a80338e2601b8bd7dbd172177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565a61590b6c779bb5228d9282d26a744f6e4c7a80338e2601b8bd7dbd172177", kill_on_drop: false }` [INFO] [stdout] 565a61590b6c779bb5228d9282d26a744f6e4c7a80338e2601b8bd7dbd172177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7684d2e2901e6ceee61d9a4134375927cbb503223e0c959b98250875dfb799c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7684d2e2901e6ceee61d9a4134375927cbb503223e0c959b98250875dfb799c4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term-painter v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling crndm_derive v0.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.0 [INFO] [stderr] Checking crndm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/tests.rs:1084:10 [INFO] [stdout] | [INFO] [stdout] 1084 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:900:34 [INFO] [stdout] | [INFO] [stdout] 900 | if !OPEN.compare_and_swap(false, true, Ordering::AcqRel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1319 | crate::pool!(default); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:875:36 [INFO] [stdout] | [INFO] [stdout] 875 | while OPEN.compare_and_swap(false, true, Ordering::AcqRel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1319 | crate::pool!(default); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:875:36 [INFO] [stdout] | [INFO] [stdout] 875 | while OPEN.compare_and_swap(false, true, Ordering::AcqRel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | crate::pool!(pool1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:875:36 [INFO] [stdout] | [INFO] [stdout] 875 | while OPEN.compare_and_swap(false, true, Ordering::AcqRel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | crate::pool!(pool2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:875:36 [INFO] [stdout] | [INFO] [stdout] 875 | while OPEN.compare_and_swap(false, true, Ordering::AcqRel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::pool!(pool1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/alloc/alg/buddy.rs:875:36 [INFO] [stdout] | [INFO] [stdout] 875 | while OPEN.compare_and_swap(false, true, Ordering::AcqRel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | crate::pool!(pool2); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/alloc/pool.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | / format!( [INFO] [stdout] 425 | | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 426 | | off, [INFO] [stdout] 427 | | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 428 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 424 | [INFO] [stdout] 425 | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 426 | off, [INFO] [stdout] 427 | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 428 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/alloc/pool.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | / format!( [INFO] [stdout] 459 | | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 460 | | off, [INFO] [stdout] 461 | | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 462 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 458 | [INFO] [stdout] 459 | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 460 | off, [INFO] [stdout] 461 | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 462 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | format!("too many slots are used (len = {})", N) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 | "too many slots are used (len = {})", N [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | format!("too many slots are used (len = {})", N) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | "too many slots are used (len = {})", N [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> examples/simplekv.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_in_array_repeat_expressions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed due to causing promotable bugs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crndm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> examples/fibo.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | crndm::pool!(pool1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> examples/fibo.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | crndm::pool!(pool2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/grep/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(min_const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/grep/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | panic!(format!("Unknown option `{}'", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 95 | panic!("Unknown option `{}'", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/alloc/pool.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | / format!( [INFO] [stdout] 425 | | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 426 | | off, [INFO] [stdout] 427 | | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 428 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 424 | [INFO] [stdout] 425 | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 426 | off, [INFO] [stdout] 427 | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 428 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/alloc/pool.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | / format!( [INFO] [stdout] 459 | | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 460 | | off, [INFO] [stdout] 461 | | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 462 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 458 | [INFO] [stdout] 459 | "Bad address (0x{:x}..0x{:x})", [INFO] [stdout] 460 | off, [INFO] [stdout] 461 | off + (mem::size_of::() * len) as u64 - 1 [INFO] [stdout] 462 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | format!("too many slots are used (len = {})", N) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 | "too many slots are used (len = {})", N [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | format!("too many slots are used (len = {})", N) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | "too many slots are used (len = {})", N [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7684d2e2901e6ceee61d9a4134375927cbb503223e0c959b98250875dfb799c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7684d2e2901e6ceee61d9a4134375927cbb503223e0c959b98250875dfb799c4", kill_on_drop: false }` [INFO] [stdout] 7684d2e2901e6ceee61d9a4134375927cbb503223e0c959b98250875dfb799c4