[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#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-3/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a3c4aaec92a99d90e7fac7b3809e3c626c6e1af1c7725afe591ec6a890f67b7 [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" "8a3c4aaec92a99d90e7fac7b3809e3c626c6e1af1c7725afe591ec6a890f67b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a3c4aaec92a99d90e7fac7b3809e3c626c6e1af1c7725afe591ec6a890f67b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a3c4aaec92a99d90e7fac7b3809e3c626c6e1af1c7725afe591ec6a890f67b7", kill_on_drop: false }` [INFO] [stdout] 8a3c4aaec92a99d90e7fac7b3809e3c626c6e1af1c7725afe591ec6a890f67b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] 91227c4f309f448bf560cb5107fe29be4329685bb8b47205973407f8d4123139 [INFO] running `Command { std: "docker" "start" "-a" "91227c4f309f448bf560cb5107fe29be4329685bb8b47205973407f8d4123139", 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 serde v1.0.115 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libz-sys v1.1.0 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking zip v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking rust_decimal v0.10.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling fmi v0.1.1 [INFO] [stderr] Checking dtparse v1.1.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[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[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: 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" "91227c4f309f448bf560cb5107fe29be4329685bb8b47205973407f8d4123139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91227c4f309f448bf560cb5107fe29be4329685bb8b47205973407f8d4123139", kill_on_drop: false }` [INFO] [stdout] 91227c4f309f448bf560cb5107fe29be4329685bb8b47205973407f8d4123139