[INFO] cloning repository https://github.com/ponyatov/pyvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ponyatov/pyvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponyatov%2Fpyvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponyatov%2Fpyvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66830869a7926d51cf5a1dbdaf83d702c16790c0 [INFO] checking ponyatov/pyvm against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponyatov%2Fpyvm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ponyatov/pyvm [INFO] finished tweaking git repo https://github.com/ponyatov/pyvm [INFO] tweaked toml for git repo https://github.com/ponyatov/pyvm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ponyatov/pyvm on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ponyatov/pyvm 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding memchr v2.7.5 [INFO] [stderr] Adding nom v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9c2441bfe761b1a7e9236c175fdd15ef20ae463ba5314fe8ac5294304524bb2 [INFO] running `Command { std: "docker" "start" "-a" "a9c2441bfe761b1a7e9236c175fdd15ef20ae463ba5314fe8ac5294304524bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9c2441bfe761b1a7e9236c175fdd15ef20ae463ba5314fe8ac5294304524bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c2441bfe761b1a7e9236c175fdd15ef20ae463ba5314fe8ac5294304524bb2", kill_on_drop: false }` [INFO] [stdout] a9c2441bfe761b1a7e9236c175fdd15ef20ae463ba5314fe8ac5294304524bb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46fc62756d04b67286ecb7c285679b47d03cffab086023325197be8e3c5a947 [INFO] running `Command { std: "docker" "start" "-a" "a46fc62756d04b67286ecb7c285679b47d03cffab086023325197be8e3c5a947", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking pyvm v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::` [INFO] [stdout] --> src/vm.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 87 | VM { [INFO] [stdout] | -- while parsing this struct [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ------^^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../static/cdn/jquery.min.js`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | const JQUERY_MIN_JS: &[u8] = include_bytes!("../static/cdn/jquery.min.js"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/vm.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/vm/config.rs" or "src/vm/config/mod.rs" [INFO] [stdout] = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../static/hello.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | const HELLO_WASM: &[u8] = include_bytes!("../static/hello.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::` [INFO] [stdout] --> src/vm.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 87 | VM { [INFO] [stdout] | -- while parsing this struct [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ------^^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/vm.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/vm/config.rs" or "src/vm/config/mod.rs" [INFO] [stdout] = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../static/cdn/jquery.min.js`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | const JQUERY_MIN_JS: &[u8] = include_bytes!("../static/cdn/jquery.min.js"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../static/hello.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | const HELLO_WASM: &[u8] = include_bytes!("../static/hello.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::` [INFO] [stdout] --> src/vm.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 87 | VM { [INFO] [stdout] | -- while parsing this struct [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ------^^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/vm.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/vm/config.rs" or "src/vm/config/mod.rs" [INFO] [stdout] = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::` [INFO] [stdout] --> src/vm.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 87 | VM { [INFO] [stdout] | -- while parsing this struct [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ------^^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/vm.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/vm/config.rs" or "src/vm/config/mod.rs" [INFO] [stdout] = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyvm` (bin "server" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `VM_RSZ` in this scope [INFO] [stdout] --> src/vm.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | ret: Stack, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub struct VM { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Stack` [INFO] [stdout] --> src/vm.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 68 | / pub struct Stack { [INFO] [stdout] 69 | | data: [T; S], [INFO] [stdout] 70 | | pointer: usize, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- `Stack` defined here [INFO] [stdout] ... [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ help: use struct literal syntax instead: `Stack { data: val, pointer: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Value` [INFO] [stdout] --> src/vm.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/vm.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub enum Value { [INFO] [stdout] 22 | | /// signed integer [INFO] [stdout] 23 | | Int(i32), [INFO] [stdout] 24 | | /// floating point [INFO] [stdout] ... | [INFO] [stdout] 31 | | Nil, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: you might have meant to use the following enum variant [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack ::new(), [INFO] [stdout] | [INFO] [stdout] help: alternatively, the following enum variants are also available [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Bool(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Char(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Float(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Int(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | trace("nop"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace("halt"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Stack` in the current scope [INFO] [stdout] --> src/vm.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Stack { [INFO] [stdout] | ----------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | ret: Stack::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Stack<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VM_RSZ` in this scope [INFO] [stdout] --> src/vm.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | ret: Stack, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub struct VM { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Stack` [INFO] [stdout] --> src/vm.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 68 | / pub struct Stack { [INFO] [stdout] 69 | | data: [T; S], [INFO] [stdout] 70 | | pointer: usize, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- `Stack` defined here [INFO] [stdout] ... [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ help: use struct literal syntax instead: `Stack { data: val, pointer: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Value` [INFO] [stdout] --> src/vm.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/vm.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub enum Value { [INFO] [stdout] 22 | | /// signed integer [INFO] [stdout] 23 | | Int(i32), [INFO] [stdout] 24 | | /// floating point [INFO] [stdout] ... | [INFO] [stdout] 31 | | Nil, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: you might have meant to use the following enum variant [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack ::new(), [INFO] [stdout] | [INFO] [stdout] help: alternatively, the following enum variants are also available [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Bool(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Char(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Float(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Int(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VM_RSZ` in this scope [INFO] [stdout] --> src/vm.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | ret: Stack, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub struct VM { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Stack` [INFO] [stdout] --> src/vm.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 68 | / pub struct Stack { [INFO] [stdout] 69 | | data: [T; S], [INFO] [stdout] 70 | | pointer: usize, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- `Stack` defined here [INFO] [stdout] ... [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ help: use struct literal syntax instead: `Stack { data: val, pointer: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Value` [INFO] [stdout] --> src/vm.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/vm.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub enum Value { [INFO] [stdout] 22 | | /// signed integer [INFO] [stdout] 23 | | Int(i32), [INFO] [stdout] 24 | | /// floating point [INFO] [stdout] ... | [INFO] [stdout] 31 | | Nil, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: you might have meant to use the following enum variant [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack ::new(), [INFO] [stdout] | [INFO] [stdout] help: alternatively, the following enum variants are also available [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Bool(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Char(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Float(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Int(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyvm` (lib) due to 8 previous errors [INFO] [stderr] error: could not compile `pyvm` (bin "server") due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | trace("nop"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace("halt"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | trace("nop"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace("halt"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Stack` in the current scope [INFO] [stdout] --> src/vm.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Stack { [INFO] [stdout] | ----------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | ret: Stack::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Stack<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Stack` in the current scope [INFO] [stdout] --> src/vm.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Stack { [INFO] [stdout] | ----------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | ret: Stack::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Stack<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyvm` (lib test) due to 8 previous errors [INFO] [stderr] error: could not compile `pyvm` (bin "main") due to 8 previous errors [INFO] [stdout] error[E0425]: cannot find value `VM_RSZ` in this scope [INFO] [stdout] --> src/vm.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | ret: Stack, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub struct VM { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Stack` [INFO] [stdout] --> src/vm.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 68 | / pub struct Stack { [INFO] [stdout] 69 | | data: [T; S], [INFO] [stdout] 70 | | pointer: usize, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- `Stack` defined here [INFO] [stdout] ... [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ help: use struct literal syntax instead: `Stack { data: val, pointer: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Value` [INFO] [stdout] --> src/vm.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | data: Stack ::new(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/vm.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub enum Value { [INFO] [stdout] 22 | | /// signed integer [INFO] [stdout] 23 | | Int(i32), [INFO] [stdout] 24 | | /// floating point [INFO] [stdout] ... | [INFO] [stdout] 31 | | Nil, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: you might have meant to use the following enum variant [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack ::new(), [INFO] [stdout] | [INFO] [stdout] help: alternatively, the following enum variants are also available [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Bool(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Char(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Float(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] 88 - data: Stack ::new(), [INFO] [stdout] 88 + data: Stack<(vm::Value::Int(/* fields */)),config::vm::Dsz> ::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | trace("nop"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trace` in this scope [INFO] [stdout] --> src/vm.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace("halt"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Stack` in the current scope [INFO] [stdout] --> src/vm.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Stack { [INFO] [stdout] | ----------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | ret: Stack::new(), [INFO] [stdout] | ^^^ function or associated item not found in `Stack<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyvm` (bin "main" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a46fc62756d04b67286ecb7c285679b47d03cffab086023325197be8e3c5a947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46fc62756d04b67286ecb7c285679b47d03cffab086023325197be8e3c5a947", kill_on_drop: false }` [INFO] [stdout] a46fc62756d04b67286ecb7c285679b47d03cffab086023325197be8e3c5a947