[INFO] cloning repository https://github.com/ozanmuyes/simple_vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozanmuyes/simple_vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ozanmuyes/simple_vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozanmuyes/simple_vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1502a3c91e30d9778e1d33f9570ac14107c581be [INFO] checking ozanmuyes/simple_vm against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozanmuyes%2Fsimple_vm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozanmuyes/simple_vm on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ozanmuyes/simple_vm [INFO] finished tweaking git repo https://github.com/ozanmuyes/simple_vm [INFO] tweaked toml for git repo https://github.com/ozanmuyes/simple_vm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ozanmuyes/simple_vm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7e4a3bc199f19cc2db8eab904edf5eb3fe57c691a7773924f7e0d7c7a16cd5d [INFO] running `Command { std: "docker" "start" "-a" "e7e4a3bc199f19cc2db8eab904edf5eb3fe57c691a7773924f7e0d7c7a16cd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7e4a3bc199f19cc2db8eab904edf5eb3fe57c691a7773924f7e0d7c7a16cd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e4a3bc199f19cc2db8eab904edf5eb3fe57c691a7773924f7e0d7c7a16cd5d", kill_on_drop: false }` [INFO] [stdout] e7e4a3bc199f19cc2db8eab904edf5eb3fe57c691a7773924f7e0d7c7a16cd5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50241f507f7d270d7a4381a654065bc82e7995cc236f87ffa71942961b3a3c98 [INFO] running `Command { std: "docker" "start" "-a" "50241f507f7d270d7a4381a654065bc82e7995cc236f87ffa71942961b3a3c98", kill_on_drop: false }` [INFO] [stderr] Checking simple_vm_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NOOP` in module `opcodes` [INFO] [stdout] --> src/vm.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | opcodes::NOOP => TickResult::CanContinue, [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::opcodes::Opcode::NOOP; [INFO] [stdout] | [INFO] [stdout] help: if you import `NOOP`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 89 - opcodes::NOOP => TickResult::CanContinue, [INFO] [stdout] 89 + NOOP => TickResult::CanContinue, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `NOOP` in module `opcodes` [INFO] [stdout] --> src/vm.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | opcodes::NOOP => TickResult::CanContinue, [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::opcodes::Opcode::NOOP; [INFO] [stdout] | [INFO] [stdout] help: if you import `NOOP`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 89 - opcodes::NOOP => TickResult::CanContinue, [INFO] [stdout] 89 + NOOP => TickResult::CanContinue, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `HALT` in module `opcodes` [INFO] [stdout] --> src/vm.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | opcodes::HALT => TickResult::Halted, [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::opcodes::Opcode::HALT; [INFO] [stdout] | [INFO] [stdout] help: if you import `HALT`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - opcodes::HALT => TickResult::Halted, [INFO] [stdout] 90 + HALT => TickResult::Halted, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV0` in module `opcodes` [INFO] [stdout] --> src/vm.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | opcodes::MOV0 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV1` in module `opcodes` [INFO] [stdout] --> src/vm.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | opcodes::MOV1 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV2` in module `opcodes` [INFO] [stdout] --> src/vm.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | opcodes::MOV2 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV3` in module `opcodes` [INFO] [stdout] --> src/vm.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | opcodes::MOV3 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV4` in module `opcodes` [INFO] [stdout] --> src/vm.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | opcodes::MOV4 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV5` in module `opcodes` [INFO] [stdout] --> src/vm.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | opcodes::MOV5 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV6` in module `opcodes` [INFO] [stdout] --> src/vm.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | opcodes::MOV6 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV7` in module `opcodes` [INFO] [stdout] --> src/vm.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | opcodes::MOV7 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `SYSCALL` in module `opcodes` [INFO] [stdout] --> src/vm.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | opcodes::SYSCALL => { [INFO] [stdout] | ^^^^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV2` in module `opcodes` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | opcodes::MOV2, 0x4, // which syscall (0x4 in this case -> write) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV3` in module `opcodes` [INFO] [stdout] --> src/main.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | opcodes::MOV3, 0x1, // syscall arg 1 (0x1 in this case -> stdout) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV4` in module `opcodes` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | opcodes::MOV4, 0x3, // syscall arg 2 (data section address of buffer) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYSCALL` in module `opcodes` [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | opcodes::SYSCALL, [INFO] [stdout] | ^^^^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 4 + use crate::opcodes::Opcode::SYSCALL; [INFO] [stdout] | [INFO] [stdout] help: if you import `SYSCALL`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - opcodes::SYSCALL, [INFO] [stdout] 25 + SYSCALL, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HALT` in module `opcodes` [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | opcodes::HALT, [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 + use crate::opcodes::Opcode::HALT; [INFO] [stdout] | [INFO] [stdout] help: if you import `HALT`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - opcodes::HALT, [INFO] [stdout] 26 + HALT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `HALT` in module `opcodes` [INFO] [stdout] --> src/vm.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | opcodes::HALT => TickResult::Halted, [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::opcodes::Opcode::HALT; [INFO] [stdout] | [INFO] [stdout] help: if you import `HALT`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - opcodes::HALT => TickResult::Halted, [INFO] [stdout] 90 + HALT => TickResult::Halted, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV0` in module `opcodes` [INFO] [stdout] --> src/vm.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | opcodes::MOV0 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV1` in module `opcodes` [INFO] [stdout] --> src/vm.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | opcodes::MOV1 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV2` in module `opcodes` [INFO] [stdout] --> src/vm.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | opcodes::MOV2 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV3` in module `opcodes` [INFO] [stdout] --> src/vm.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | opcodes::MOV3 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV4` in module `opcodes` [INFO] [stdout] --> src/vm.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | opcodes::MOV4 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV5` in module `opcodes` [INFO] [stdout] --> src/vm.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | opcodes::MOV5 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV6` in module `opcodes` [INFO] [stdout] --> src/vm.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | opcodes::MOV6 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `MOV7` in module `opcodes` [INFO] [stdout] --> src/vm.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | opcodes::MOV7 => { [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `SYSCALL` in module `opcodes` [INFO] [stdout] --> src/vm.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | opcodes::SYSCALL => { [INFO] [stdout] | ^^^^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV2` in module `opcodes` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | opcodes::MOV2, 0x4, // which syscall (0x4 in this case -> write) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV3` in module `opcodes` [INFO] [stdout] --> src/main.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | opcodes::MOV3, 0x1, // syscall arg 1 (0x1 in this case -> stdout) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOV4` in module `opcodes` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | opcodes::MOV4, 0x3, // syscall arg 2 (data section address of buffer) [INFO] [stdout] | ^^^^ not found in `opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `1_u8..=15_u8`, `24_u8..=31_u8`, `40_u8..=47_u8` and 1 more not covered [INFO] [stdout] --> src/opcodes.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match opcode { [INFO] [stdout] | ^^^^^^ patterns `1_u8..=15_u8`, `24_u8..=31_u8`, `40_u8..=47_u8` and 1 more not covered [INFO] [stdout] | [INFO] [stdout] = note: the matched value is of type `u8` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 61 ~ 0x37 => return Opcode::STORE(7), [INFO] [stdout] 62 ~ _ => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_vm_rust` (bin "simple_vm_rust" test) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple_vm_rust` (bin "simple_vm_rust") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "50241f507f7d270d7a4381a654065bc82e7995cc236f87ffa71942961b3a3c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50241f507f7d270d7a4381a654065bc82e7995cc236f87ffa71942961b3a3c98", kill_on_drop: false }` [INFO] [stdout] 50241f507f7d270d7a4381a654065bc82e7995cc236f87ffa71942961b3a3c98