[INFO] updating cached repository https://github.com/ertos-rs/fdt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b17582600dd402d4b347b1a319c9808c19bf159 [INFO] checking ertos-rs/fdt-rs against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fertos-rs%2Ffdt-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ertos-rs/fdt-rs on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ertos-rs/fdt-rs [INFO] removed path dependency endian-type from git repo https://github.com/ertos-rs/fdt-rs [INFO] finished tweaking git repo https://github.com/ertos-rs/fdt-rs [INFO] tweaked toml for git repo https://github.com/ertos-rs/fdt-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ertos-rs/fdt-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cfg-if) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (endian-type) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cfg-if.cfg-if [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cfg-if) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (endian-type) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cfg-if.cfg-if [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6169adc5f0952c87c448a44865f7e39b285dfb870376315f81514413b60f14cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6169adc5f0952c87c448a44865f7e39b285dfb870376315f81514413b60f14cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6169adc5f0952c87c448a44865f7e39b285dfb870376315f81514413b60f14cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6169adc5f0952c87c448a44865f7e39b285dfb870376315f81514413b60f14cd", kill_on_drop: false }` [INFO] [stdout] 6169adc5f0952c87c448a44865f7e39b285dfb870376315f81514413b60f14cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c36a7d49732c27807dd6bd3261cd3b5137a88d091f281cc09ceaa9f3e1e65304 [INFO] running `Command { std: "docker" "start" "-a" "c36a7d49732c27807dd6bd3261cd3b5137a88d091f281cc09ceaa9f3e1e65304", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cfg-if) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (endian-type) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cfg-if.cfg-if [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-derive v0.3.1 [INFO] [stderr] Checking fdt-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | use std::fs::{metadata, File}; [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | use std::io::Read; [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/lib.rs:453:32 [INFO] [stdout] | [INFO] [stdout] 453 | let mut vec: Vec = vec![0u8; len + size_of::() * 2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | println!("{}", node.name.unwrap()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | println!("{}", node.name.unwrap()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | println!("\t{}", prop.name().unwrap()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/lib.rs:515:62 [INFO] [stdout] | [INFO] [stdout] 515 | ... let mut vec: Vec> = vec![None; i.unwrap()]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> src/lib.rs:521:33 [INFO] [stdout] | [INFO] [stdout] 521 | ... print!("\t\t{} ", s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/lib.rs:523:29 [INFO] [stdout] | [INFO] [stdout] 523 | ... println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/lib.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | let mut file = File::open("test/riscv64-virt.dtb").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:457:23 [INFO] [stdout] | [INFO] [stdout] 457 | let mut buf = std::slice::from_raw_parts_mut(p as *mut u8, len); [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | std::mem::drop(vec); [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | std::mem::drop(vec); [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | std::mem::drop(vec); [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `std` [INFO] [stdout] --> src/lib.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | std::mem::drop(vec); [INFO] [stdout] | ^^^ use of undeclared type or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:450:30 [INFO] [stdout] | [INFO] [stdout] 450 | unsafe fn read_dtb() -> (Vec, &'static mut [u8]) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `metadata` in this scope [INFO] [stdout] --> src/lib.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | let len = metadata("test/riscv64-virt.dtb").unwrap().len() as usize; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:453:22 [INFO] [stdout] | [INFO] [stdout] 453 | let mut vec: Vec = vec![0u8; len + size_of::() * 2]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:515:42 [INFO] [stdout] | [INFO] [stdout] 515 | ... let mut vec: Vec> = vec![None; i.unwrap()]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:466:23 [INFO] [stdout] | [INFO] [stdout] 466 | let (vec, buf) = read_dtb(); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `core::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: core::convert::From>` is not satisfied [INFO] [stdout] --> src/iters.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | let prop_len = u32::from((*header).len) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `core::convert::From>` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 2 others [INFO] [stdout] = note: required by `core::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: core::convert::From>` is not satisfied [INFO] [stdout] --> src/iters.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | nameoff: u32::from((*header).nameoff), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `core::convert::From>` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 2 others [INFO] [stdout] = note: required by `core::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: core::convert::From>` is not satisfied [INFO] [stdout] --> src/iters.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | let prop_len = u32::from((*header).len) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `core::convert::From>` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 2 others [INFO] [stdout] = note: required by `core::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fdt-rs`. [INFO] [stdout] error[E0277]: the trait bound `u32: core::convert::From>` is not satisfied [INFO] [stdout] --> src/iters.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | nameoff: u32::from((*header).nameoff), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `core::convert::From>` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 2 others [INFO] [stdout] = note: required by `core::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c36a7d49732c27807dd6bd3261cd3b5137a88d091f281cc09ceaa9f3e1e65304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36a7d49732c27807dd6bd3261cd3b5137a88d091f281cc09ceaa9f3e1e65304", kill_on_drop: false }` [INFO] [stdout] c36a7d49732c27807dd6bd3261cd3b5137a88d091f281cc09ceaa9f3e1e65304