[INFO] fetching crate rsubox 0.2.1... [INFO] testing rsubox-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rsubox 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rsubox 0.2.1 [INFO] finished tweaking crates.io crate rsubox 0.2.1 [INFO] tweaked toml for crates.io crate rsubox 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsubox 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsubox 0.2.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 596ec5102de078a531da6fda7fbdf723333bc6ae5bebc409e65f04fe72b9b193 [INFO] running `Command { std: "docker" "start" "-a" "596ec5102de078a531da6fda7fbdf723333bc6ae5bebc409e65f04fe72b9b193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596ec5102de078a531da6fda7fbdf723333bc6ae5bebc409e65f04fe72b9b193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596ec5102de078a531da6fda7fbdf723333bc6ae5bebc409e65f04fe72b9b193", kill_on_drop: false }` [INFO] [stdout] 596ec5102de078a531da6fda7fbdf723333bc6ae5bebc409e65f04fe72b9b193 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e5936afc2c50b72b8e97dda8d693bd981a7975e576cd65e03138c8a96533eb [INFO] running `Command { std: "docker" "start" "-a" "73e5936afc2c50b72b8e97dda8d693bd981a7975e576cd65e03138c8a96533eb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling getopt v1.1.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling fnmatch-sys v1.0.0 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling rsubox v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `from_raw_parts` is ambiguous [INFO] [stdout] --> src/utils.rs:1252:65 [INFO] [stdout] | [INFO] [stdout] 1252 | ... sysname: OsString::from(&OsStr::from_bytes(unsafe { from_raw_parts(libc_name.assume_init_ref().sysname.as_ptr() as *const u8... [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: `from_raw_parts` could refer to the function imported here [INFO] [stdout] --> src/utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::slice::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [INFO] [stdout] note: `from_raw_parts` could also refer to the function imported here [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::str::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [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 #114095 [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `from_raw_parts` is ambiguous [INFO] [stdout] --> src/utils.rs:1253:66 [INFO] [stdout] | [INFO] [stdout] 1253 | ... nodename: OsString::from(&OsStr::from_bytes(unsafe { from_raw_parts(libc_name.assume_init_ref().nodename.as_ptr() as *const ... [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: `from_raw_parts` could refer to the function imported here [INFO] [stdout] --> src/utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::slice::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [INFO] [stdout] note: `from_raw_parts` could also refer to the function imported here [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::str::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [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 #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `from_raw_parts` is ambiguous [INFO] [stdout] --> src/utils.rs:1254:65 [INFO] [stdout] | [INFO] [stdout] 1254 | ... release: OsString::from(&OsStr::from_bytes(unsafe { from_raw_parts(libc_name.assume_init_ref().release.as_ptr() as *const u8... [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: `from_raw_parts` could refer to the function imported here [INFO] [stdout] --> src/utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::slice::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [INFO] [stdout] note: `from_raw_parts` could also refer to the function imported here [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::str::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [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 #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `from_raw_parts` is ambiguous [INFO] [stdout] --> src/utils.rs:1255:65 [INFO] [stdout] | [INFO] [stdout] 1255 | ... version: OsString::from(&OsStr::from_bytes(unsafe { from_raw_parts(libc_name.assume_init_ref().version.as_ptr() as *const u8... [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: `from_raw_parts` could refer to the function imported here [INFO] [stdout] --> src/utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::slice::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [INFO] [stdout] note: `from_raw_parts` could also refer to the function imported here [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::str::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [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 #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `from_raw_parts` is ambiguous [INFO] [stdout] --> src/utils.rs:1256:65 [INFO] [stdout] | [INFO] [stdout] 1256 | ... machine: OsString::from(&OsStr::from_bytes(unsafe { from_raw_parts(libc_name.assume_init_ref().machine.as_ptr() as *const u8... [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: `from_raw_parts` could refer to the function imported here [INFO] [stdout] --> src/utils.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::slice::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [INFO] [stdout] note: `from_raw_parts` could also refer to the function imported here [INFO] [stdout] --> src/utils.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::str::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `from_raw_parts` to disambiguate [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 #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/applets/dd.rs:846:57 [INFO] [stdout] | [INFO] [stdout] 846 | { unsafe { libc::signal(libc::SIGINT, interrupt_handler as libc::sighandler_t); } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 846 | { unsafe { libc::signal(libc::SIGINT, interrupt_handler as *const () as libc::sighandler_t); } } [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsubox` (bin "rsubox") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "73e5936afc2c50b72b8e97dda8d693bd981a7975e576cd65e03138c8a96533eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e5936afc2c50b72b8e97dda8d693bd981a7975e576cd65e03138c8a96533eb", kill_on_drop: false }` [INFO] [stdout] 73e5936afc2c50b72b8e97dda8d693bd981a7975e576cd65e03138c8a96533eb