[INFO] fetching crate pe-assembler 0.0.3... [INFO] testing pe-assembler-0.0.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate pe-assembler 0.0.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pe-assembler 0.0.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pe-assembler 0.0.3 [INFO] tweaked toml for crates.io crate pe-assembler 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pe-assembler 0.0.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pe-assembler 0.0.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gaia-types v0.0.0 [INFO] [stderr] Downloaded tsify-macros v0.4.5 [INFO] [stderr] Downloaded tsify v0.4.5 [INFO] [stderr] Downloaded x86_64-assembler v0.0.1 [INFO] [stderr] Downloaded serde_derive_internals v0.28.0 [INFO] [stderr] Downloaded gaia-types v0.0.3 [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded source-map v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4e6c50600a2195a6101da5b48622a9d0ea0b751a945d3aef4b76ac658c76656 [INFO] running `Command { std: "docker" "start" "-a" "b4e6c50600a2195a6101da5b48622a9d0ea0b751a945d3aef4b76ac658c76656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4e6c50600a2195a6101da5b48622a9d0ea0b751a945d3aef4b76ac658c76656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e6c50600a2195a6101da5b48622a9d0ea0b751a945d3aef4b76ac658c76656", kill_on_drop: false }` [INFO] [stdout] b4e6c50600a2195a6101da5b48622a9d0ea0b751a945d3aef4b76ac658c76656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59ba6b65127b00f3d9f866baf113d89c614a5a2c7f702ff727600a3eada27931 [INFO] running `Command { std: "docker" "start" "-a" "59ba6b65127b00f3d9f866baf113d89c614a5a2c7f702ff727600a3eada27931", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling source-map v0.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling gaia-types v0.0.0 [INFO] [stderr] Compiling gaia-types v0.0.3 [INFO] [stderr] Compiling x86_64-assembler v0.0.1 [INFO] [stderr] Compiling pe-assembler v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `dll_info` is never read [INFO] [stdout] --> src/formats/dll/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DllReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | dll_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DllReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exe_info` is never read [INFO] [stdout] --> src/formats/exe/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExeReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | exe_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExeReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lazy_section_headers` is never read [INFO] [stdout] --> src/formats/obj/reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ObjReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | lazy_section_headers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_coff_header`, `get_section_headers`, `set_section_headers`, `set_coff_object`, and `set_coff_info` are never used [INFO] [stdout] --> src/helpers/coff_reader/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CoffReader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_coff_header(&mut self, head: CoffHeader) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_section_headers(&mut self) -> Result<&[SectionHeader], GaiaError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn set_section_headers(&mut self, headers: Vec) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_coff_object(&mut self, object: CoffObject) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn set_coff_info(&mut self, info: CoffInfo) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/dll/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs, rustdoc::missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/dll/reader/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/exe/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn exe_write_path(pe: &PeProgram, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/exe/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/exe/reader/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod writer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/formats/lib/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct LibReadConfig {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn lib_from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / pub fn lib_from_file

(path: P) -> Result [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | P: AsRef, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn lib_file_type>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/lib/reader/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn with_url(mut self, url: Url) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/obj/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/obj/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn coff_from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/obj/reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/helpers/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod pe_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / fn get_position(&mut self) -> Result [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn set_position(&mut self, offset: u64) -> Result [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn read_pe_program(reader: &mut impl PeReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod coff; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod tables; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/coff/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_architecture(&self) -> Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/nt/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn read_at(mut reader: R, offset: u64) -> Result [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.45s [INFO] running `Command { std: "docker" "inspect" "59ba6b65127b00f3d9f866baf113d89c614a5a2c7f702ff727600a3eada27931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ba6b65127b00f3d9f866baf113d89c614a5a2c7f702ff727600a3eada27931", kill_on_drop: false }` [INFO] [stdout] 59ba6b65127b00f3d9f866baf113d89c614a5a2c7f702ff727600a3eada27931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67e3495295d2c6ecfc64f59276100af238886bfb449d100b52f3db8fdb16aff6 [INFO] running `Command { std: "docker" "start" "-a" "67e3495295d2c6ecfc64f59276100af238886bfb449d100b52f3db8fdb16aff6", kill_on_drop: false }` [INFO] [stderr] Compiling gaia-types v0.0.3 [INFO] [stderr] Compiling pe-assembler v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `dll_info` is never read [INFO] [stdout] --> src/formats/dll/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DllReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | dll_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DllReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exe_info` is never read [INFO] [stdout] --> src/formats/exe/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExeReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | exe_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExeReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lazy_section_headers` is never read [INFO] [stdout] --> src/formats/obj/reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ObjReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | lazy_section_headers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_coff_header`, `get_section_headers`, `set_section_headers`, `set_coff_object`, and `set_coff_info` are never used [INFO] [stdout] --> src/helpers/coff_reader/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CoffReader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_coff_header(&mut self, head: CoffHeader) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_section_headers(&mut self) -> Result<&[SectionHeader], GaiaError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn set_section_headers(&mut self, headers: Vec) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_coff_object(&mut self, object: CoffObject) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn set_coff_info(&mut self, info: CoffInfo) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/dll/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs, rustdoc::missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/dll/reader/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/exe/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn exe_write_path(pe: &PeProgram, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/exe/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/exe/reader/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod writer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/formats/lib/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct LibReadConfig {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn lib_from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / pub fn lib_from_file

(path: P) -> Result [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | P: AsRef, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn lib_file_type>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/lib/reader/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn with_url(mut self, url: Url) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/obj/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/obj/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn coff_from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/obj/reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/helpers/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod pe_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / fn get_position(&mut self) -> Result [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn set_position(&mut self, offset: u64) -> Result [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn read_pe_program(reader: &mut impl PeReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod coff; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod tables; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/coff/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_architecture(&self) -> Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/nt/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn read_at(mut reader: R, offset: u64) -> Result [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dll_info` is never read [INFO] [stdout] --> src/formats/dll/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DllReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | dll_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DllReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exe_info` is never read [INFO] [stdout] --> src/formats/exe/reader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExeReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | exe_info: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExeReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lazy_section_headers` is never read [INFO] [stdout] --> src/formats/obj/reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ObjReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | lazy_section_headers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_coff_header`, `get_section_headers`, `set_section_headers`, `set_coff_object`, and `set_coff_info` are never used [INFO] [stdout] --> src/helpers/coff_reader/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CoffReader { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_coff_header(&mut self, head: CoffHeader) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_section_headers(&mut self) -> Result<&[SectionHeader], GaiaError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn set_section_headers(&mut self, headers: Vec) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_coff_object(&mut self, object: CoffObject) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn set_coff_info(&mut self, info: CoffInfo) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/dll/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs, rustdoc::missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/dll/reader/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/exe/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn exe_write_path(pe: &PeProgram, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/exe/reader/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/exe/reader/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/lib/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod writer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/formats/lib/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct LibReadConfig {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn lib_from_bytes(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / pub fn lib_from_file

(path: P) -> Result [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | P: AsRef, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/lib/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn lib_file_type>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/lib/reader/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn with_url(mut self, url: Url) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/formats/lib/reader/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn finish(mut self) -> GaiaDiagnostics [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/formats/obj/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod reader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/formats/obj/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn coff_from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/formats/obj/reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/helpers/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod pe_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / fn get_position(&mut self) -> Result [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn set_position(&mut self, offset: u64) -> Result [INFO] [stdout] 26 | | where [INFO] [stdout] 27 | | R: Seek, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/helpers/pe_reader/mod.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn read_pe_program(reader: &mut impl PeReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod coff; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/types/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod tables; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/coff/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_architecture(&self) -> Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/types/coff/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/nt/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn read_at(mut reader: R, offset: u64) -> Result [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | R: Read + Seek, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/types/tables/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/runnable/exit_code.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | let mut program = ProgramBuilder::new(Architecture::X86); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ expected `Architecture`, found a different `Architecture` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `gaia_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `Architecture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.0/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `gaia_types::helpers::compilation_target::arch::Architecture` [INFO] [stdout] | [INFO] [stdout] ::: tests/runnable/exit_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gaia_types::{helpers::Architecture, GaiaError}; [INFO] [stdout] | ---------- one version of crate `gaia_types` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 7 | use x86_64_assembler::{builder::ProgramBuilder, instruction::Register}; [INFO] [stdout] | ---------------- one version of crate `gaia_types` used here, as a dependency of crate `x86_64_assembler` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-assembler-0.0.1/src/builder/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(architecture: Architecture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 47 | fn generate_exit_code_x86(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 50 | program.push_imm(exit_code as i64)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn generate_exit_code_x86(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 51 | program.call_indirect(0)?; // IAT 占位符,构建器后续修补 [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn generate_exit_code_x86(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 52 | let code = program.compile_instructions()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/runnable/exit_code.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | let mut program = ProgramBuilder::new(Architecture::X86_64); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^ expected `Architecture`, found a different `Architecture` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `gaia_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `Architecture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.0/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `gaia_types::helpers::compilation_target::arch::Architecture` [INFO] [stdout] | [INFO] [stdout] ::: tests/runnable/exit_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gaia_types::{helpers::Architecture, GaiaError}; [INFO] [stdout] | ---------- one version of crate `gaia_types` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 7 | use x86_64_assembler::{builder::ProgramBuilder, instruction::Register}; [INFO] [stdout] | ---------------- one version of crate `gaia_types` used here, as a dependency of crate `x86_64_assembler` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-assembler-0.0.1/src/builder/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(architecture: Architecture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 64 | fn generate_exit_code_x64(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 68 | program.sub_reg_imm(Register::RSP, 0x28)?; [INFO] [stdout] | --------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:70:57 [INFO] [stdout] | [INFO] [stdout] 64 | fn generate_exit_code_x64(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 70 | program.mov_reg_imm(Register::RCX, exit_code as i64)?; [INFO] [stdout] | --------------------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 64 | fn generate_exit_code_x64(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 71 | program.call_indirect(0)?; // IAT 占位符,构建器后续修补 [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/exit_code.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 64 | fn generate_exit_code_x64(exit_code: i32) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 72 | let code = program.compile_instructions()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/runnable/hello_world.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | let mut program = ProgramBuilder::new(Architecture::X86); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ expected `Architecture`, found a different `Architecture` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `gaia_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `Architecture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.0/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `gaia_types::helpers::compilation_target::arch::Architecture` [INFO] [stdout] | [INFO] [stdout] ::: tests/runnable/exit_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gaia_types::{helpers::Architecture, GaiaError}; [INFO] [stdout] | ---------- one version of crate `gaia_types` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 7 | use x86_64_assembler::{builder::ProgramBuilder, instruction::Register}; [INFO] [stdout] | ---------------- one version of crate `gaia_types` used here, as a dependency of crate `x86_64_assembler` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-assembler-0.0.1/src/builder/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(architecture: Architecture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 54 | program.push_imm(-11)?.call_indirect(0)?; [INFO] [stdout] | -------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 54 | program.push_imm(-11)?.call_indirect(0)?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 61 | .push_imm(msg_len) // 记录长度,供修补器识别后续的 msg 占位 [INFO] [stdout] | ----------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 62 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 63 | .push_label("msg".to_string()) // msg 的占位,将被修补为 .data 起始地址 [INFO] [stdout] | ----------------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 64 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 65 | .pop_reg(Register::EBX) // EBX = &msg [INFO] [stdout] | ---------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 66 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 67 | .pop_reg(Register::ECX) // 弹出用于修补的 msg_len,占位不再作为参数 [INFO] [stdout] | ---------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 68 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 69 | .mov_reg_reg(Register::EDI, Register::EBX) // EDI = &msg(保留一份用于 lpBuffer) [INFO] [stdout] | ----------------------------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 70 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 71 | .add_reg_imm(Register::EBX, (msg_len + 1) as i64) // EBX = &written(位于 NUL 之后的 4 字节) [INFO] [stdout] | ------------------------------------------------ this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 72 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 74 | .push_imm(0) // lpOverlapped (第5个参数) [INFO] [stdout] | ----------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 75 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 76 | .push_reg(Register::EBX) // lpNumberOfBytesWritten = &written (第4个参数) [INFO] [stdout] | ----------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 77 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 78 | .push_imm(msg_len) // nNumberOfBytesToWrite = len (第3个参数) [INFO] [stdout] | ----------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 79 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 80 | .push_reg(Register::EDI) // lpBuffer = &msg (第2个参数) [INFO] [stdout] | ----------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 81 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 82 | .push_reg(Register::EAX) // hFile (第1个参数) [INFO] [stdout] | ----------------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 83 | ? [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 84 | .call_indirect(1) // WriteFile [INFO] [stdout] | ---------------- this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] 85 | ?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 88 | program.push_imm(0)?.call_indirect(2)?.ret()?; [INFO] [stdout] | -----------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 88 | program.push_imm(0)?.call_indirect(2)?.ret()?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 88 | program.push_imm(0)?.call_indirect(2)?.ret()?; [INFO] [stdout] | -----^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_console_log_x86(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 90 | let code = program.compile_instructions()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/runnable/hello_world.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | let mut program = ProgramBuilder::new(Architecture::X86_64); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^ expected `Architecture`, found a different `Architecture` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `gaia_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `Architecture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.0/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `gaia_types::helpers::compilation_target::arch::Architecture` [INFO] [stdout] | [INFO] [stdout] ::: tests/runnable/exit_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gaia_types::{helpers::Architecture, GaiaError}; [INFO] [stdout] | ---------- one version of crate `gaia_types` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 7 | use x86_64_assembler::{builder::ProgramBuilder, instruction::Register}; [INFO] [stdout] | ---------------- one version of crate `gaia_types` used here, as a dependency of crate `x86_64_assembler` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-assembler-0.0.1/src/builder/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(architecture: Architecture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 115 | program.sub_reg_imm(Register::RSP, 40)?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 118 | program.mov_reg_imm(Register::RCX, -11)?; [INFO] [stdout] | -------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 120 | program.call_indirect(0)?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:123:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 123 | program.mov_reg_reg(Register::RCX, Register::RAX)?; [INFO] [stdout] | -----------------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 130 | program.mov_reg_imm(Register::R8D, len)?; [INFO] [stdout] | -------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 136 | program.mov_reg_imm(Register::RAX, 0)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 143 | program.call_indirect(1)?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 146 | program.mov_reg_imm(Register::RCX, 0)?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 147 | program.call_indirect(2)?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 150 | program.add_reg_imm(Register::RSP, 40)?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 152 | program.ret()?; [INFO] [stdout] | -----^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GaiaError` [INFO] [stdout] --> tests/runnable/hello_world.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 109 | fn generate_console_log_x64(message: &str) -> Result, GaiaError> { [INFO] [stdout] | -------------------------- expected `GaiaError` because of this [INFO] [stdout] ... [INFO] [stdout] 154 | let code = program.compile_instructions()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `GaiaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, gaia_types::errors::GaiaError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 17 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] ... [INFO] [stdout] 24 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/errors/convert/for_serde_json.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl From for GaiaError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `GaiaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/runnable/inspect_imports.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | let mut program = ProgramBuilder::new(Architecture::X86); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ expected `Architecture`, found a different `Architecture` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `gaia_types` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.3/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `Architecture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gaia-types-0.0.0/src/helpers/compilation_target/arch.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Architecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `gaia_types::helpers::compilation_target::arch::Architecture` [INFO] [stdout] | [INFO] [stdout] ::: tests/runnable/exit_code.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gaia_types::{helpers::Architecture, GaiaError}; [INFO] [stdout] | ---------- one version of crate `gaia_types` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 7 | use x86_64_assembler::{builder::ProgramBuilder, instruction::Register}; [INFO] [stdout] | ---------------- one version of crate `gaia_types` used here, as a dependency of crate `x86_64_assembler` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-assembler-0.0.1/src/builder/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(architecture: Architecture) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pe-assembler` (test "main") due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "67e3495295d2c6ecfc64f59276100af238886bfb449d100b52f3db8fdb16aff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e3495295d2c6ecfc64f59276100af238886bfb449d100b52f3db8fdb16aff6", kill_on_drop: false }` [INFO] [stdout] 67e3495295d2c6ecfc64f59276100af238886bfb449d100b52f3db8fdb16aff6