[INFO] cloning repository https://github.com/danielinux/picotcp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielinux/picotcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielinux%2Fpicotcp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielinux%2Fpicotcp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a94c6f5e99e86858d1cab800b3b203b71991e6f1 [INFO] checking danielinux/picotcp-rust/a94c6f5e99e86858d1cab800b3b203b71991e6f1 against try#0d69e2d38d443a5f5bcd601fecce9431b3835c30 for pr-130531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielinux%2Fpicotcp-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielinux/picotcp-rust on toolchain 0d69e2d38d443a5f5bcd601fecce9431b3835c30 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d69e2d38d443a5f5bcd601fecce9431b3835c30" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielinux/picotcp-rust [INFO] finished tweaking git repo https://github.com/danielinux/picotcp-rust [INFO] tweaked toml for git repo https://github.com/danielinux/picotcp-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danielinux/picotcp-rust 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" "+0d69e2d38d443a5f5bcd601fecce9431b3835c30" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/picotcp_rs.rs` was erroneously implicitly accepted for binary `picotcp_rs`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+0d69e2d38d443a5f5bcd601fecce9431b3835c30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 278260e258398a55b39ceaec6f1d6e31b5d1a11c37cad275bffee3e57c26c591 [INFO] running `Command { std: "docker" "start" "-a" "278260e258398a55b39ceaec6f1d6e31b5d1a11c37cad275bffee3e57c26c591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "278260e258398a55b39ceaec6f1d6e31b5d1a11c37cad275bffee3e57c26c591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "278260e258398a55b39ceaec6f1d6e31b5d1a11c37cad275bffee3e57c26c591", kill_on_drop: false }` [INFO] [stdout] 278260e258398a55b39ceaec6f1d6e31b5d1a11c37cad275bffee3e57c26c591 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+0d69e2d38d443a5f5bcd601fecce9431b3835c30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cbf9e7b6afc7d80880c14f1994289b200673bf81d9ec8de1606604d23781b30 [INFO] running `Command { std: "docker" "start" "-a" "2cbf9e7b6afc7d80880c14f1994289b200673bf81d9ec8de1606604d23781b30", kill_on_drop: false }` [INFO] [stderr] warning: path `src/picotcp_rs.rs` was erroneously implicitly accepted for binary `picotcp_rs`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking picotcp_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::mem::to_be32` [INFO] [stdout] --> src/picotcp_rs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::to_be32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `to_be32` in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Timer` [INFO] [stdout] --> src/picotcp_rs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::mem::to_be32` [INFO] [stdout] --> src/picotcp_rs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::to_be32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `to_be32` in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Timer` [INFO] [stdout] --> src/picotcp_rs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/picotcp_rs.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/picotcp_rs.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | impl fmt::Show for pico_ip4 { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pico_ip4` should have an upper camel case name [INFO] [stdout] --> src/picotcp_rs.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct pico_ip4 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PicoIp4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `picotcp_rs` (bin "picotcp_rs" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn pico_tun_create(name: *const c_char) -> *mut u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn pico_stack_init() -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn pico_string_to_ipv4(ipstr: *const c_char, ip: *mut pico_ip4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/picotcp_rs.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/picotcp_rs.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | impl fmt::Show for pico_ip4 { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pico_ip4` should have an upper camel case name [INFO] [stdout] --> src/picotcp_rs.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct pico_ip4 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PicoIp4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn pico_tun_create(name: *const c_char) -> *mut u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn pico_stack_init() -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/picotcp_rs.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn pico_string_to_ipv4(ipstr: *const c_char, ip: *mut pico_ip4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `picotcp_rs` (bin "picotcp_rs") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2cbf9e7b6afc7d80880c14f1994289b200673bf81d9ec8de1606604d23781b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbf9e7b6afc7d80880c14f1994289b200673bf81d9ec8de1606604d23781b30", kill_on_drop: false }` [INFO] [stdout] 2cbf9e7b6afc7d80880c14f1994289b200673bf81d9ec8de1606604d23781b30