[INFO] cloning repository https://github.com/heilhead/rust-fmi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heilhead/rust-fmi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26437f51f6fab873a31214ffd729ce41ac9b81c0 [INFO] checking heilhead/rust-fmi against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heilhead/rust-fmi [INFO] removed path dependency fmi from git repo https://github.com/heilhead/rust-fmi [INFO] finished tweaking git repo https://github.com/heilhead/rust-fmi [INFO] tweaked toml for git repo https://github.com/heilhead/rust-fmi written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/heilhead/rust-fmi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fmi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fmi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] 15df30c5a7f3dd82be713f407a02aef9753e2466b912550b0c2d79ccc3e2be9f [INFO] running `Command { std: "docker" "start" "-a" "15df30c5a7f3dd82be713f407a02aef9753e2466b912550b0c2d79ccc3e2be9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15df30c5a7f3dd82be713f407a02aef9753e2466b912550b0c2d79ccc3e2be9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15df30c5a7f3dd82be713f407a02aef9753e2466b912550b0c2d79ccc3e2be9f", kill_on_drop: false }` [INFO] [stdout] 15df30c5a7f3dd82be713f407a02aef9753e2466b912550b0c2d79ccc3e2be9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 2e72e608e683ca46fe69023ee8d9ddd6c2260b44c3d2232a35a00340b66250a5 [INFO] running `Command { std: "docker" "start" "-a" "2e72e608e683ca46fe69023ee8d9ddd6c2260b44c3d2232a35a00340b66250a5", kill_on_drop: false }` [INFO] [stderr] warning: dependency (fmi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking zip v0.5.9 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust_decimal v0.10.2 [INFO] [stderr] Checking serde-xml-rs v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.4 [INFO] [stderr] Compiling fmi v0.2.0 [INFO] [stderr] Checking dtparse v1.2.0 [INFO] [stderr] Checking rust-fmi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `fmi::ModuleBounds`, `fmi::ProcessHandle`, `fmi::ProcessId` [INFO] [stdout] --> src/module.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use fmi::{ModuleBounds, ProcessHandle, ProcessId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ no `ProcessId` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ProcessHandle` in the root [INFO] [stdout] | no `ModuleBounds` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fmi::ProcessExt` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use fmi::ProcessExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `ProcessExt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fmi::ModuleBounds`, `fmi::ProcessHandle`, `fmi::ProcessId` [INFO] [stdout] --> src/module.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use fmi::{ModuleBounds, ProcessHandle, ProcessId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ no `ProcessId` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ProcessHandle` in the root [INFO] [stdout] | no `ModuleBounds` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fmi::ProcessExt` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use fmi::ProcessExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `ProcessExt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in crate `fmi` [INFO] [stdout] --> src/module.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fmi::close_handle(self.handle).expect("failed to close program handle"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open_process` in crate `fmi` [INFO] [stdout] --> src/module.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let handle = fmi::open_process(pid)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_bounds` in crate `fmi` [INFO] [stdout] --> src/module.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let bounds = fmi::get_module_bounds(handle, module_name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_buf` in crate `fmi` [INFO] [stdout] --> src/module.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | self.snapshot = Some(fmi::read_buf(self.handle, start, end - start)?); [INFO] [stdout] | ^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_debug_privileges` in crate `fmi` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | fmi::get_debug_privileges()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_process_list` in crate `fmi` [INFO] [stdout] --> src/main.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let processes = fmi::get_process_list(Some(|p: &fmi::Process| p.name() == proc_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Process` in crate `fmi` [INFO] [stdout] --> src/main.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let processes = fmi::get_process_list(Some(|p: &fmi::Process| p.name() == proc_name)); [INFO] [stdout] | ^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in crate `fmi` [INFO] [stdout] --> src/main.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let offset: u8 = fmi::read(module.handle, module.get_offset(idx + 8))?; [INFO] [stdout] | ^^^^ not found in `fmi` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in crate `fmi` [INFO] [stdout] --> src/main.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let num_address: i32 = fmi::read(module.handle, module.get_offset(offset))?; [INFO] [stdout] | ^^^^ not found in `fmi` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in crate `fmi` [INFO] [stdout] --> src/module.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fmi::close_handle(self.handle).expect("failed to close program handle"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open_process` in crate `fmi` [INFO] [stdout] --> src/module.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let handle = fmi::open_process(pid)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_bounds` in crate `fmi` [INFO] [stdout] --> src/module.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let bounds = fmi::get_module_bounds(handle, module_name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_buf` in crate `fmi` [INFO] [stdout] --> src/module.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | self.snapshot = Some(fmi::read_buf(self.handle, start, end - start)?); [INFO] [stdout] | ^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_debug_privileges` in crate `fmi` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | fmi::get_debug_privileges()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_process_list` in crate `fmi` [INFO] [stdout] --> src/main.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let processes = fmi::get_process_list(Some(|p: &fmi::Process| p.name() == proc_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Process` in crate `fmi` [INFO] [stdout] --> src/main.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let processes = fmi::get_process_list(Some(|p: &fmi::Process| p.name() == proc_name)); [INFO] [stdout] | ^^^^^^^ not found in `fmi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in crate `fmi` [INFO] [stdout] --> src/main.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let offset: u8 = fmi::read(module.handle, module.get_offset(idx + 8))?; [INFO] [stdout] | ^^^^ not found in `fmi` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in crate `fmi` [INFO] [stdout] --> src/main.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let num_address: i32 = fmi::read(module.handle, module.get_offset(offset))?; [INFO] [stdout] | ^^^^ not found in `fmi` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-fmi` [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2e72e608e683ca46fe69023ee8d9ddd6c2260b44c3d2232a35a00340b66250a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e72e608e683ca46fe69023ee8d9ddd6c2260b44c3d2232a35a00340b66250a5", kill_on_drop: false }` [INFO] [stdout] 2e72e608e683ca46fe69023ee8d9ddd6c2260b44c3d2232a35a00340b66250a5