[INFO] cloning repository https://github.com/einsJannis/computer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/einsJannis/computer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinsJannis%2Fcomputer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinsJannis%2Fcomputer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38d359ce7e3ca944708aceb4d50a1fd9008baa12 [INFO] checking einsJannis/computer against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinsJannis%2Fcomputer" "/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/einsJannis/computer on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/einsJannis/computer [INFO] finished tweaking git repo https://github.com/einsJannis/computer [INFO] tweaked toml for git repo https://github.com/einsJannis/computer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/einsJannis/computer 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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/einsjannis/rpc` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking einsJannis/computer against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinsJannis%2Fcomputer" "/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/einsJannis/computer on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/einsJannis/computer [INFO] finished tweaking git repo https://github.com/einsJannis/computer [INFO] tweaked toml for git repo https://github.com/einsJannis/computer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/einsJannis/computer 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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b7bfc7b02f72e4f3d6e7bb6244293984c1001a1323c2a28ea26e05aa339115f [INFO] running `Command { std: "docker" "start" "-a" "6b7bfc7b02f72e4f3d6e7bb6244293984c1001a1323c2a28ea26e05aa339115f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b7bfc7b02f72e4f3d6e7bb6244293984c1001a1323c2a28ea26e05aa339115f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7bfc7b02f72e4f3d6e7bb6244293984c1001a1323c2a28ea26e05aa339115f", kill_on_drop: false }` [INFO] [stdout] 6b7bfc7b02f72e4f3d6e7bb6244293984c1001a1323c2a28ea26e05aa339115f [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eadbce03fdce9406e2a1fdf101527c3d9e9ebbf319e0d381229f0bc53f39707 [INFO] running `Command { std: "docker" "start" "-a" "9eadbce03fdce9406e2a1fdf101527c3d9e9ebbf319e0d381229f0bc53f39707", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking rpc v0.1.0 (https://github.com/einsjannis/rpc#26c908f5) [INFO] [stderr] Checking computer_emulator v0.1.0 (/opt/rustwide/workdir/computer_emulator) [INFO] [stdout] error[E0425]: cannot find value `content_orgin` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | origin: Box::new(content_orgin) [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `content_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `H` in module `register` [INFO] [stdout] --> computer_emulator/src/main.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | self.reg16(register::H) [INFO] [stdout] | ^ not found in `register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `H` in module `register` [INFO] [stdout] --> computer_emulator/src/main.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | self.reg16(register::H) [INFO] [stdout] | ^ not found in `register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::intrinsics::unreachable` [INFO] [stdout] --> computer_emulator/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::unreachable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HIGH` and `PC_H` [INFO] [stdout] --> computer_emulator/src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::register::{HIGH, PC_H}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::intrinsics::unreachable` [INFO] [stdout] --> computer_emulator/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::unreachable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HIGH` and `PC_H` [INFO] [stdout] --> computer_emulator/src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::register::{HIGH, PC_H}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> computer_emulator/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::unreachable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-01-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> computer_emulator/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::intrinsics::unreachable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-01-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | registers: [u8; 2**3], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | registers: [u8; 2**3], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ram: [u8; 2**16], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ram: [u8; 2**16], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | stack: [u8; 2**8] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> computer_emulator/src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | stack: [u8; 2**8] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ContentOrigin + 'static)` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | origin: dyn ContentOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn ContentOrigin + 'static)` [INFO] [stdout] = note: only the last field of a struct may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 23 | origin: &dyn ContentOrigin, [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 23 | origin: Box, [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/parser/mod.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(tokens: &mut TokenIterator) -> Result<(ContentLocation, Self), ParseError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `(ContentLocation, Self)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/core/src/result.rs:528:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(tokens: &mut TokenIterator) -> Result<(ContentLocation, Self), ParseError> where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | self.value == rhs [INFO] [stdout] | ^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 19 | self.value == *rhs [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContentLocation` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 24 | pub enum LexerError { [INFO] [stdout] 25 | UnknownToken(ContentLocation) [INFO] [stdout] | ^^^^^^^^^^^^^^^ `ContentLocation` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContentLocation` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContentLocation` or manually `impl Debug for ContentLocation` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&ContentLocation` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:31:126 [INFO] [stdout] | [INFO] [stdout] 31 | ... LexerError::UnknownToken(location) => f.write_fmt(format_args!("Found unknown token in {} at index {}", location.0.origin.origin_de... [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `origin`, `location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&ContentLocation` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:31:166 [INFO] [stdout] | [INFO] [stdout] 31 | ...ndex {}", location.0.origin.origin_description(), location.0.location)) [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `origin`, `location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `(i8, bool)` as `(u8, bool)` [INFO] [stdout] --> computer_emulator/src/main.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let result = (self.reg8(result_reg) as i8).overflowing_add(value as i8) as (u8, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `(i8, bool)` as `(u8, bool)` [INFO] [stdout] --> computer_emulator/src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let result = (self.reg8(result_reg) as i8).overflowing_sub(value as i8) as (u8, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `(i8, bool)` as `(u8, bool)` [INFO] [stdout] --> computer_emulator/src/main.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let result = (self.reg8(result_reg) as i8).overflowing_add(value as i8) as (u8, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `(i8, bool)` as `(u8, bool)` [INFO] [stdout] --> computer_emulator/src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let result = (self.reg8(result_reg) as i8).overflowing_sub(value as i8) as (u8, bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `{closure@mod.rs:56:28}` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or(|_| panic!("unreachable")).unwrap() [INFO] [stdout] | ^^^^^^ `{closure@mod.rs:56:28}` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rpc-4676600c9b5b75de.long-type-8204409759232085630.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: the trait `Debug` is not implemented for closure `{closure@mod.rs:56:28}` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/core/src/result.rs:1103:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Option<&str>` and `Option<&str>: Debug` trivially holds [INFO] [stdout] | [INFO] [stdout] 55 - if !content.get(i..) [INFO] [stdout] 56 - .ok_or(|_| panic!("unreachable")).unwrap() [INFO] [stdout] 55 + if !content.get(i..).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: std::str::pattern::Pattern` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | .starts_with(token_definition) { continue 'inner } [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ the trait `std::str::pattern::Pattern` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `String` to implement `std::str::pattern::Pattern` [INFO] [stdout] note: required by a bound in `core::str::::starts_with` [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/core/src/str/mod.rs:1189:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 57 | .starts_with(&token_definition) { continue 'inner } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> computer_emulator/src/main.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ---- ------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> computer_emulator/src/main.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> computer_emulator/src/main.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> computer_emulator/src/main.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ---- ------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> computer_emulator/src/main.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> computer_emulator/src/main.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | fn inc_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()+1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> computer_emulator/src/main.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ---- ------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> computer_emulator/src/main.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> computer_emulator/src/main.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> computer_emulator/src/main.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ---- ------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this argument... [INFO] [stdout] --> computer_emulator/src/main.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: ...and then using that local as the argument to this call [INFO] [stdout] --> computer_emulator/src/main.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | fn dec_stack_ptr(&mut self) { self.set_stack_ptr(self.stack_ptr()-1) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> computer_emulator/src/main.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0 => self.run_nop(), [INFO] [stdout] | ^^^^ --------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Computer`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Computer::run_nop` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> computer_emulator/src/main.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | fn run_nop(self) { } [INFO] [stdout] | ^^^^ [INFO] [stdout] note: if `Computer` implemented `Clone`, you could clone the value [INFO] [stdout] --> computer_emulator/src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Computer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 127 | 0x0 => self.run_nop(), [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> computer_emulator/src/main.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0 => self.run_nop(), [INFO] [stdout] | ^^^^ --------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Computer`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Computer::run_nop` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> computer_emulator/src/main.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | fn run_nop(self) { } [INFO] [stdout] | ^^^^ [INFO] [stdout] note: if `Computer` implemented `Clone`, you could clone the value [INFO] [stdout] --> computer_emulator/src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Computer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 127 | 0x0 => self.run_nop(), [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 152 | self.set_reg8( [INFO] [stdout] | ---- -------- immutable borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] 153 | self.op_reg(), [INFO] [stdout] 154 | self.op_value8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 152 | self.set_reg8( [INFO] [stdout] | ---- -------- immutable borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] 153 | self.op_reg(), [INFO] [stdout] 154 | self.op_value8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 159 | self.set_reg8( [INFO] [stdout] | ---- -------- immutable borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] 160 | self.op_reg(), [INFO] [stdout] 161 | self.ram8(self.op_value16()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 159 | self.set_reg8( [INFO] [stdout] | ---- -------- immutable borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] 160 | self.op_reg(), [INFO] [stdout] 161 | self.ram8(self.op_value16()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | self.set_reg16(register::HIGH, self.ram16(self.op_value16())); [INFO] [stdout] | ---- --------- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | self.set_reg16(register::HIGH, self.ram16(self.op_value16())); [INFO] [stdout] | ---- --------- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:61:78 [INFO] [stdout] | [INFO] [stdout] 61 | content_location: ContentLocation { location: i, origin: Box::new(content_origin) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `dyn ContentOrigin`, found `Box<&dyn ContentOrigin>` [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn ContentOrigin + 'static)` [INFO] [stdout] found struct `Box<&dyn ContentOrigin>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | self.set_reg16(register::PC_H, self.op_value16()) [INFO] [stdout] | ---- --------- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> computer_emulator/src/main.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | self.set_reg16(register::PC_H, self.op_value16()) [INFO] [stdout] | ---- --------- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0499, E0502, E0507, E0605, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0499, E0502, E0507, E0605, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | result += Token { [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | _________________cannot use `+=` on type `Vec` [INFO] [stdout] | | [INFO] [stdout] 60 | | value: token_definition.clone(), [INFO] [stdout] 61 | | content_location: ContentLocation { location: i, origin: Box::new(content_origin) } [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Vec` doesn't implement `AddAssign` [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn pop(&mut self) { [INFO] [stdout] | --------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 101 | self.index = self.index_stack.pop()?; [INFO] [stdout] | ^ cannot use the `?` operator in a method that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn auto_use T>(&mut self, function: F) -> T { [INFO] [stdout] | ----------------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 110 | if self.index_stack.last()? == index { self.spop() } [INFO] [stdout] | ^ cannot use the `?` operator in a method that returns `T` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` with unstable trait `FromResidual` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn auto_use>, F: FnOnce() -> T>(&mut self, function: F) -> T { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&usize` with `usize` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lexer/mod.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | if self.index_stack.last()? == index { self.spop() } [INFO] [stdout] | ^^ no implementation for `&usize == usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&usize` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 110 | if *self.index_stack.last()? == index { self.spop() } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContentLocation` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/parser/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 7 | UnexpectedToken { location: ContentLocation, expected: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `ContentLocation` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContentLocation` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContentLocation` or manually `impl Debug for ContentLocation` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `computer_emulator` (bin "computer_emulator") due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `computer_emulator` (bin "computer_emulator" test) due to 14 previous errors; 2 warnings emitted [INFO] [stdout] error[E0277]: `ContentLocation` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/parser/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | FailedToMatchPattern { location: ContentLocation, pattern_name: String } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `ContentLocation` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContentLocation` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContentLocation` or manually `impl Debug for ContentLocation` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for reference `&Path` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | self.as_str().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_os_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | self.as_os_str().unwrap() [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for enum `Result` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lib.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | read_to_string(self).as_str() [INFO] [stdout] | ^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `as_str` exists on the type `String` [INFO] [stdout] --> /rustc/173780a87744406b7489b28349c0176f14bb3881/library/alloc/src/string.rs:1081:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `String` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 17 | read_to_string(self).expect("REASON").as_str() [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn ContentOrigin: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rpc-bf269d208f5d784c/26c908f/src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 22 | pub struct ContentLocation { [INFO] [stdout] 23 | origin: dyn ContentOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn ContentOrigin` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0368, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpc` (lib) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "9eadbce03fdce9406e2a1fdf101527c3d9e9ebbf319e0d381229f0bc53f39707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eadbce03fdce9406e2a1fdf101527c3d9e9ebbf319e0d381229f0bc53f39707", kill_on_drop: false }` [INFO] [stdout] 9eadbce03fdce9406e2a1fdf101527c3d9e9ebbf319e0d381229f0bc53f39707