[INFO] fetching crate deranged 0.5.4... [INFO] checking deranged-0.5.4 against try#09335b6f1bff25ec39f47f1533e126fbe1ca5f5d for pr-139493-2 [INFO] extracting crate deranged 0.5.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate deranged 0.5.4 [INFO] finished tweaking crates.io crate deranged 0.5.4 [INFO] tweaked toml for crates.io crate deranged 0.5.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deranged 0.5.4 on toolchain 09335b6f1bff25ec39f47f1533e126fbe1ca5f5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate deranged 0.5.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0739ee7d1c361cc6f5c10b3dd6183958339191264bd28485c302b3fb163bb52f [INFO] running `Command { std: "docker" "start" "-a" "0739ee7d1c361cc6f5c10b3dd6183958339191264bd28485c302b3fb163bb52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0739ee7d1c361cc6f5c10b3dd6183958339191264bd28485c302b3fb163bb52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0739ee7d1c361cc6f5c10b3dd6183958339191264bd28485c302b3fb163bb52f", kill_on_drop: false }` [INFO] [stdout] 0739ee7d1c361cc6f5c10b3dd6183958339191264bd28485c302b3fb163bb52f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf094e1e75f489ac1a5c67ec021c5db7ff2e7e64c467b31e3197c9ede563c44d [INFO] running `Command { std: "docker" "start" "-a" "cf094e1e75f489ac1a5c67ec021c5db7ff2e7e64c467b31e3197c9ede563c44d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking deranged v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_core v0.9.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:437:111 [INFO] [stdout] | [INFO] [stdout] 437 | $t::<{ $inner::MIN}, { $inner::MAX - 1 }>::new($inner::MIN + i - 1).unwrap_or_else(|| panic!("adding {i}+{} does ... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: `-D ambiguous-panic-imports` implied by `-D future-incompatible` [INFO] [stdout] = help: to override `-D future-incompatible` add `#[allow(ambiguous_panic_imports)]` [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:443:114 [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq!($t::<-5, 126>::MIN.wrapping_add(-i), $t::<-5,126>::new(126-i+1).unwrap_or_else(|| panic!("adding {i}+{} do... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:444:110 [INFO] [stdout] | [INFO] [stdout] 444 | assert_eq!($t::<-5, 126>::MIN.wrapping_add(i), $t::<-5,126>::new(-5+i).unwrap_or_else(|| panic!("adding {i}+{} does n... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:447:113 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!($t::<-5, 126>::MIN.wrapping_add(i), $t::<-5,126>::new(126+i+1).unwrap_or_else(|| panic!("adding {i}+{} doe... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:448:111 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!($t::<-5, 126>::MIN.wrapping_add(-i), $t::<-5,126>::new(-5-i).unwrap_or_else(|| panic!("adding {i}+{} does ... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:450:107 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!($t::<-5, 126>::MIN.wrapping_add(-128), $t::<-5,126>::new(-1).unwrap_or_else(|| panic!("adding 128+{} does not ... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `panic` is ambiguous [INFO] [stdout] --> src/tests.rs:479:112 [INFO] [stdout] | [INFO] [stdout] 479 | $t::<{ $inner::MIN + 1 }, { $inner::MAX }>::new($inner::MAX - i + 1).unwrap_or_else(|| panic!("failed test at ite... [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] ... [INFO] [stdout] 717 | / tests![ [INFO] [stdout] 718 | | signed OptionRangedI8 RangedI8 i8, [INFO] [stdout] 719 | | signed OptionRangedI16 RangedI16 i16, [INFO] [stdout] 720 | | signed OptionRangedI32 RangedI32 i32, [INFO] [stdout] ... | [INFO] [stdout] 729 | | unsigned OptionRangedUsize RangedUsize usize, [INFO] [stdout] 730 | | ]; [INFO] [stdout] | |_- in this macro invocation [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 #147319 [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::prelude::rust_2021::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/09335b6f1bff25ec39f47f1533e126fbe1ca5f5d/library/core/src/prelude/mod.rs:41:13 [INFO] [stdout] = note: this error originates in the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deranged` (lib test) due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "cf094e1e75f489ac1a5c67ec021c5db7ff2e7e64c467b31e3197c9ede563c44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf094e1e75f489ac1a5c67ec021c5db7ff2e7e64c467b31e3197c9ede563c44d", kill_on_drop: false }` [INFO] [stdout] cf094e1e75f489ac1a5c67ec021c5db7ff2e7e64c467b31e3197c9ede563c44d