[INFO] cloning repository https://github.com/sam41306061/rust-8086 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam41306061/rust-8086" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam41306061%2Frust-8086", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam41306061%2Frust-8086'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 187b8ef01b420628db7996eecbb5760f9fdc505f [INFO] checking sam41306061/rust-8086 against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam41306061%2Frust-8086" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: Unable to create '/workspace/builds/worker-2-tc2/source/.git/refs/remotes/origin/HEAD.lock': No such file or directory [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] checking sam41306061/rust-8086 against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam41306061%2Frust-8086" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sam41306061/rust-8086 on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sam41306061/rust-8086 [INFO] finished tweaking git repo https://github.com/sam41306061/rust-8086 [INFO] tweaked toml for git repo https://github.com/sam41306061/rust-8086 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sam41306061/rust-8086 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" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bae9e2d19a01c6dbf43177da62511196e72eb0728c7823bbfd0b1fd94315ba6 [INFO] running `Command { std: "docker" "start" "-a" "6bae9e2d19a01c6dbf43177da62511196e72eb0728c7823bbfd0b1fd94315ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bae9e2d19a01c6dbf43177da62511196e72eb0728c7823bbfd0b1fd94315ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bae9e2d19a01c6dbf43177da62511196e72eb0728c7823bbfd0b1fd94315ba6", kill_on_drop: false }` [INFO] [stdout] 6bae9e2d19a01c6dbf43177da62511196e72eb0728c7823bbfd0b1fd94315ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751a9b7e3768874370bb61c4e18bad02c3463e540793b02c171ca87f34389a78 [INFO] running `Command { std: "docker" "start" "-a" "751a9b7e3768874370bb61c4e18bad02c3463e540793b02c171ca87f34389a78", kill_on_drop: false }` [INFO] [stderr] Checking rust-8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:138:57 [INFO] [stdout] | [INFO] [stdout] 138 | fn load_binary(file_path: &str, memory: &mut Memory) -> io::Result<()> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 | fn load_binary(file_path: &str, memory: &mut Memory) -> i8::Result<()> { [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:138:57 [INFO] [stdout] | [INFO] [stdout] 138 | fn load_binary(file_path: &str, memory: &mut Memory) -> io::Result<()> { [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 | fn load_binary(file_path: &str, memory: &mut Memory) -> i8::Result<()> { [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> CPU { [INFO] [stdout] | --- ^^^ expected `CPU`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Memory { [INFO] [stdout] | --- ^^^^^^ expected `Memory`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | fn read(&self, address: usize, size: usize) -> &[u8] { [INFO] [stdout] | ---- ^^^^^ expected `&[u8]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | fn decode(bytes: &[u8]) -> Instruction { [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `Instruction`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn write(&mut self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn write(&mut self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&self, cpu: &mut CPU) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> CPU { [INFO] [stdout] | --- ^^^ expected `CPU`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Memory { [INFO] [stdout] | --- ^^^^^^ expected `Memory`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | fn read(&self, address: usize, size: usize) -> &[u8] { [INFO] [stdout] | ---- ^^^^^ expected `&[u8]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | fn decode(bytes: &[u8]) -> Instruction { [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `Instruction`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn write(&mut self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn write(&mut self, address: usize, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&self, cpu: &mut CPU) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-8086` (bin "rust-8086") due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-8086` (bin "rust-8086" test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "751a9b7e3768874370bb61c4e18bad02c3463e540793b02c171ca87f34389a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751a9b7e3768874370bb61c4e18bad02c3463e540793b02c171ca87f34389a78", kill_on_drop: false }` [INFO] [stdout] 751a9b7e3768874370bb61c4e18bad02c3463e540793b02c171ca87f34389a78