[INFO] cloning repository https://github.com/alexchandel/ld9 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexchandel/ld9" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexchandel%2Fld9", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexchandel%2Fld9'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e18b17f739356c71793b51228dde616e8a5cb167 [INFO] checking alexchandel/ld9 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexchandel%2Fld9" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexchandel/ld9 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/alexchandel/ld9 [INFO] finished tweaking git repo https://github.com/alexchandel/ld9 [INFO] tweaked toml for git repo https://github.com/alexchandel/ld9 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/alexchandel/ld9 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] error: the lock file /workspace/builds/worker-0/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 8dc8c26e157d3cb6ac0f72533a477f0ef4caddaac8e3f03334b47f39b7fe8c2a [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" "8dc8c26e157d3cb6ac0f72533a477f0ef4caddaac8e3f03334b47f39b7fe8c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dc8c26e157d3cb6ac0f72533a477f0ef4caddaac8e3f03334b47f39b7fe8c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc8c26e157d3cb6ac0f72533a477f0ef4caddaac8e3f03334b47f39b7fe8c2a", kill_on_drop: false }` [INFO] [stdout] 8dc8c26e157d3cb6ac0f72533a477f0ef4caddaac8e3f03334b47f39b7fe8c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 2ab057eecbd90d63c7b1f245d19cc3ef1ae224de6eccaaa19c4b71c377c136d2 [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" "2ab057eecbd90d63c7b1f245d19cc3ef1ae224de6eccaaa19c4b71c377c136d2", kill_on_drop: false }` [INFO] [stderr] Checking ld9 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::ToPrimitive` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::num::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::AdditiveIterator` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::AdditiveIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AdditiveIterator` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::marker::MarkerTrait` [INFO] [stdout] --> src/macho.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | use std::marker::MarkerTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MarkerTrait` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::bswap32` [INFO] [stdout] --> src/aout9.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | use std::intrinsics::bswap32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `bswap` [INFO] [stdout] | no `bswap32` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | for i in range(0, h.ncmds as usize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | for j in range(0, nsects) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | for j in range(0, nsects) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::ToPrimitive` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::num::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::AdditiveIterator` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::AdditiveIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AdditiveIterator` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::marker::MarkerTrait` [INFO] [stdout] --> src/macho.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | use std::marker::MarkerTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MarkerTrait` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::bswap32` [INFO] [stdout] --> src/aout9.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | use std::intrinsics::bswap32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `bswap` [INFO] [stdout] | no `bswap32` in `intrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ld9` [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | for i in range(0, h.ncmds as usize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | for j in range(0, nsects) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | for j in range(0, nsects) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2ab057eecbd90d63c7b1f245d19cc3ef1ae224de6eccaaa19c4b71c377c136d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab057eecbd90d63c7b1f245d19cc3ef1ae224de6eccaaa19c4b71c377c136d2", kill_on_drop: false }` [INFO] [stdout] 2ab057eecbd90d63c7b1f245d19cc3ef1ae224de6eccaaa19c4b71c377c136d2