[INFO] cloning repository https://github.com/TheEdward162/procmem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheEdward162/procmem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheEdward162%2Fprocmem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheEdward162%2Fprocmem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48c5d43ded01c46e05aa4e83ca7c56999ec6e9a1 [INFO] checking TheEdward162/procmem against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheEdward162%2Fprocmem" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheEdward162/procmem on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheEdward162/procmem [INFO] finished tweaking git repo https://github.com/TheEdward162/procmem [INFO] tweaked toml for git repo https://github.com/TheEdward162/procmem written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/TheEdward162/procmem already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 609e95b077fc6e9680eedcc164d6c931cd6d6ff99c51c2b612ac306180a09497 [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" "609e95b077fc6e9680eedcc164d6c931cd6d6ff99c51c2b612ac306180a09497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "609e95b077fc6e9680eedcc164d6c931cd6d6ff99c51c2b612ac306180a09497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609e95b077fc6e9680eedcc164d6c931cd6d6ff99c51c2b612ac306180a09497", kill_on_drop: false }` [INFO] [stdout] 609e95b077fc6e9680eedcc164d6c931cd6d6ff99c51c2b612ac306180a09497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f37f26e51b4edaecc2587ef029ecb16d93991f43d49747afdb89b2dc48b699d1 [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" "f37f26e51b4edaecc2587ef029ecb16d93991f43d49747afdb89b2dc48b699d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.59 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking procmem_access v0.1.0 (/opt/rustwide/workdir/procmem_access) [INFO] [stdout] error[E0412]: cannot find type `ProcfsMemoryAccess` in module `super::super::procfs` [INFO] [stdout] --> procmem_access/src/platform/simple.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub type SimpleMemoryAccess = super::super::procfs::ProcfsMemoryAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ProcfsAccess` [INFO] [stdout] | [INFO] [stdout] ::: procmem_access/src/platform/procfs/access.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProcfsAccess { [INFO] [stdout] | ----------------------- similarly named struct `ProcfsAccess` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcfsMemoryAccess` in module `super::super::procfs` [INFO] [stdout] --> procmem_access/src/platform/simple.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub type SimpleMemoryAccess = super::super::procfs::ProcfsMemoryAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ProcfsAccess` [INFO] [stdout] | [INFO] [stdout] ::: procmem_access/src/platform/procfs/access.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProcfsAccess { [INFO] [stdout] | ----------------------- similarly named struct `ProcfsAccess` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `OffsetType` in the current scope [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetType` [INFO] [stdout] | [INFO] [stdout] ::: procmem_access/src/common/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OffsetType(NonZeroU64); [INFO] [stdout] | ---------------------------------- function or associated item `try_new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u64` [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `u64 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `OffsetType` in the current scope [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetType` [INFO] [stdout] | [INFO] [stdout] ::: procmem_access/src/common/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OffsetType(NonZeroU64); [INFO] [stdout] | ---------------------------------- function or associated item `try_new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u64` [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | OffsetType::try_new(offset - page_offset) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `u64 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from.try_into().unwrap()), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:161:73 [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to.try_into().unwrap())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | offset, [INFO] [stdout] | ^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 163 | offset: offset.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from.try_into().unwrap()), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:161:73 [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to)], [INFO] [stdout] | ^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | address_range: [OffsetType::new_unwrap(from), OffsetType::new_unwrap(to.try_into().unwrap())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> procmem_access/src/platform/procfs/map.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | offset, [INFO] [stdout] | ^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 163 | offset: offset.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `procmem_access` [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0599. [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" "f37f26e51b4edaecc2587ef029ecb16d93991f43d49747afdb89b2dc48b699d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37f26e51b4edaecc2587ef029ecb16d93991f43d49747afdb89b2dc48b699d1", kill_on_drop: false }` [INFO] [stdout] f37f26e51b4edaecc2587ef029ecb16d93991f43d49747afdb89b2dc48b699d1