[INFO] fetching crate abistr 0.2.0-rc3... [INFO] checking abistr-0.2.0-rc3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate abistr 0.2.0-rc3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate abistr 0.2.0-rc3 [INFO] finished tweaking crates.io crate abistr 0.2.0-rc3 [INFO] tweaked toml for crates.io crate abistr 0.2.0-rc3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate abistr 0.2.0-rc3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bdc6c022e09cc7ec34582a7c0125c9085cea896e732633a48a8e54955ff9e7f [INFO] running `Command { std: "docker" "start" "-a" "7bdc6c022e09cc7ec34582a7c0125c9085cea896e732633a48a8e54955ff9e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bdc6c022e09cc7ec34582a7c0125c9085cea896e732633a48a8e54955ff9e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bdc6c022e09cc7ec34582a7c0125c9085cea896e732633a48a8e54955ff9e7f", kill_on_drop: false }` [INFO] [stdout] 7bdc6c022e09cc7ec34582a7c0125c9085cea896e732633a48a8e54955ff9e7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 132621ebc1f57ff723f25a886da9795c046b052b6f849a195d236558ce9d8a23 [INFO] running `Command { std: "docker" "start" "-a" "132621ebc1f57ff723f25a886da9795c046b052b6f849a195d236558ce9d8a23", kill_on_drop: false }` [INFO] [stderr] Compiling abistr-macros v0.2.0-rc3 [INFO] [stderr] Checking abistr v0.2.0-rc3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | assert_abi_compatible!([c_char; 1], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | assert_abi_compatible!([c_char; 2], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | assert_abi_compatible!([c_char; 3], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | assert_abi_compatible!([c_char; 4], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | assert_abi_compatible!([c_char; 6], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | assert_abi_compatible!([c_char; 8], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | assert_abi_compatible!([c_char; 12], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | assert_abi_compatible!([c_char; 16], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | assert_abi_compatible!([c_char; 24], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | assert_abi_compatible!([c_char; 99], CStrBuf); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | empty: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:407:26 [INFO] [stdout] | [INFO] [stdout] 407 | empty2: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | empty3: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | example: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 410 | full: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | not_unicode: [c_char; 16], [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:422:32 [INFO] [stdout] | [INFO] [stdout] 422 | c.not_unicode[0] = 0xFF as c_char; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/buffers.rs:423:32 [INFO] [stdout] | [INFO] [stdout] 423 | c.not_unicode[1] = 0xFF as c_char; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/buffers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/pointers.rs:309:56 [INFO] [stdout] | [INFO] [stdout] 309 | assert_abi_compatible!(CStrPtr, *const c_char); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/pointers.rs:310:56 [INFO] [stdout] | [INFO] [stdout] 310 | assert_abi_compatible!(Option, *const c_char); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `c_char` is ambiguous [INFO] [stdout] --> src/pointers.rs:311:57 [INFO] [stdout] | [INFO] [stdout] 311 | assert_abi_compatible!(CStrNonNull, NonNull); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `c_char` could refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] use std::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] note: `c_char` could also refer to the type alias imported here [INFO] [stdout] --> src/pointers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `c_char` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffers.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn nul_truncate(&mut self) -> CStrNonNull { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn nul_truncate(&mut self) -> CStrNonNull<'_, U> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow; [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow { String::from_utf8_lossy(buf) } [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow<'_, str> { String::from_utf8_lossy(buf) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow { Cow::Owned(String::from_utf16_lossy(buf)) } [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow<'_, str> { Cow::Owned(String::from_utf16_lossy(buf)) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | ... #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow { Cow::Owned(buf.iter().copied().map(|ch| core::char::from_u32... [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "std")] fn to_string_lossy(buf: &[Self]) -> Cow<'_, str> { Cow::Owned(buf.iter().copied().map(|ch| core::char::from_u32(ch).unwrap_or(REPLACEMENT_CHARACTER)).collect::()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `abistr` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "132621ebc1f57ff723f25a886da9795c046b052b6f849a195d236558ce9d8a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132621ebc1f57ff723f25a886da9795c046b052b6f849a195d236558ce9d8a23", kill_on_drop: false }` [INFO] [stdout] 132621ebc1f57ff723f25a886da9795c046b052b6f849a195d236558ce9d8a23