[INFO] cloning repository https://github.com/nils-mathieu/libft-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nils-mathieu/libft-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnils-mathieu%2Flibft-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnils-mathieu%2Flibft-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2bcfa144fd2500e8db8b846fb734a9f86928d96 [INFO] checking nils-mathieu/libft-rs against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnils-mathieu%2Flibft-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nils-mathieu/libft-rs [INFO] finished tweaking git repo https://github.com/nils-mathieu/libft-rs [INFO] tweaked toml for git repo https://github.com/nils-mathieu/libft-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nils-mathieu/libft-rs on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nils-mathieu/libft-rs 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aade70c63bcb1b38e77fc83c197a8c55ea5f038dc3d1eab3389f87181626f33f [INFO] running `Command { std: "docker" "start" "-a" "aade70c63bcb1b38e77fc83c197a8c55ea5f038dc3d1eab3389f87181626f33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aade70c63bcb1b38e77fc83c197a8c55ea5f038dc3d1eab3389f87181626f33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aade70c63bcb1b38e77fc83c197a8c55ea5f038dc3d1eab3389f87181626f33f", kill_on_drop: false }` [INFO] [stdout] aade70c63bcb1b38e77fc83c197a8c55ea5f038dc3d1eab3389f87181626f33f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be6b51ded5d2bdc4153528344d3391e57efaa44c9b65df9214f96e162bfdc425 [INFO] running `Command { std: "docker" "start" "-a" "be6b51ded5d2bdc4153528344d3391e57efaa44c9b65df9214f96e162bfdc425", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic_handler.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / fn handle_panic(info: &PanicInfo) -> ! { [INFO] [stdout] 40 | | // Load the panic handler function pointer and call it. [INFO] [stdout] 41 | | let fn_ptr = PANIC_HANDLER.load(Relaxed); [INFO] [stdout] 42 | | let fn_ptr: fn(info: &PanicInfo) -> ! = unsafe { core::mem::transmute(fn_ptr) }; [INFO] [stdout] 43 | | fn_ptr(info) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ba412a6e70ac84641be7764d088acabd0eb3fa39/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8b5bf3899fe2af46.rlib [INFO] [stdout] = note: second definition in the local crate (`ft`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ft` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `result_flattening` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(result_flattening)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charstar.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn iter(&self) -> Iter { [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] 233 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/charstar.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn split(&self, byte: u8) -> Split { [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] 240 | pub fn split(&self, byte: u8) -> Split<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/read_buffer.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn async_fill_with_fd(&mut self, fd: Fd) -> futures::FillWithFd { [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] 264 | pub fn async_fill_with_fd(&mut self, fd: Fd) -> futures::FillWithFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/read_buffer.rs:341:29 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn async_read_exact(&mut self, fd: Fd, count: usize) -> futures::ReadExact { [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] 341 | pub fn async_read_exact(&mut self, fd: Fd, count: usize) -> futures::ReadExact<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/io.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn async_write(self, data: &[u8]) -> futures::Write { [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] 71 | pub fn async_write(self, data: &[u8]) -> futures::Write<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/io.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn async_write_all(self, data: &[u8]) -> futures::WriteAll { [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] 97 | pub fn async_write_all(self, data: &[u8]) -> futures::WriteAll<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/io.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn async_read(self, buf: &mut [MaybeUninit]) -> futures::Read { [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] 176 | pub fn async_read(self, buf: &mut [MaybeUninit]) -> futures::Read<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/io.rs:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn async_read_once_to_vec(self, buf: &mut alloc::vec::Vec) -> futures::ReadOnceToVec { [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] 228 | pub fn async_read_once_to_vec(self, buf: &mut alloc::vec::Vec) -> futures::ReadOnceToVec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/io.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn async_read_to_vec(self, vec: &mut alloc::vec::Vec) -> futures::ReadToVec { [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] 257 | pub fn async_read_to_vec(self, vec: &mut alloc::vec::Vec) -> futures::ReadToVec<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fd/select.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn iter(&self, max: Fd) -> FdSetIter { [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] 77 | pub fn iter(&self, max: Fd) -> FdSetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/termios.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn guard(&self, fd: Fd) -> RestoreTermios { [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] 166 | pub fn guard(&self, fd: Fd) -> RestoreTermios<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be6b51ded5d2bdc4153528344d3391e57efaa44c9b65df9214f96e162bfdc425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6b51ded5d2bdc4153528344d3391e57efaa44c9b65df9214f96e162bfdc425", kill_on_drop: false }` [INFO] [stdout] be6b51ded5d2bdc4153528344d3391e57efaa44c9b65df9214f96e162bfdc425