[INFO] cloning repository https://github.com/jethro-djan/ctx-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jethro-djan/ctx-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjethro-djan%2Fctx-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjethro-djan%2Fctx-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3626304a42ee4b46f0212dbf2985bdb0588d78a5 [INFO] checking jethro-djan/ctx-runtime against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjethro-djan%2Fctx-runtime" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] finished tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] tweaked toml for git repo https://github.com/jethro-djan/ctx-runtime written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jethro-djan/ctx-runtime on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jethro-djan/ctx-runtime 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jethro-djan/ctx-runtime against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjethro-djan%2Fctx-runtime" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] finished tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] tweaked toml for git repo https://github.com/jethro-djan/ctx-runtime written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jethro-djan/ctx-runtime on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jethro-djan/ctx-runtime 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jethro-djan/ctx-runtime against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjethro-djan%2Fctx-runtime" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] finished tweaking git repo https://github.com/jethro-djan/ctx-runtime [INFO] tweaked toml for git repo https://github.com/jethro-djan/ctx-runtime written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jethro-djan/ctx-runtime on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jethro-djan/ctx-runtime 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_build v0.29.3 [INFO] [stderr] Downloaded uniffi_pipeline v0.29.3 [INFO] [stderr] Downloaded uniffi v0.29.3 [INFO] [stderr] Downloaded uniffi_core v0.29.3 [INFO] [stderr] Downloaded scroll_derive v0.12.1 [INFO] [stderr] Downloaded uniffi_macros v0.29.3 [INFO] [stderr] Downloaded logos-derive v0.15.0 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded fs-err v2.11.0 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded logos-codegen v0.15.0 [INFO] [stderr] Downloaded basic-toml v0.1.10 [INFO] [stderr] Downloaded askama_parser v0.13.0 [INFO] [stderr] Downloaded askama_derive v0.13.1 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded askama v0.13.1 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded uniffi_bindgen v0.29.3 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded uniffi_udl v0.29.3 [INFO] [stderr] Downloaded uniffi_meta v0.29.3 [INFO] [stderr] Downloaded uniffi_internal_macros v0.29.3 [INFO] [stderr] Downloaded uniffi_testing v0.29.3 [INFO] [stderr] Downloaded which v8.0.0 [INFO] [stderr] Downloaded logos v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e28fd1d9265c3e1bf4d0d80794f04e2b636bf712cee8852b7c8ffd358015c386 [INFO] running `Command { std: "docker" "start" "-a" "e28fd1d9265c3e1bf4d0d80794f04e2b636bf712cee8852b7c8ffd358015c386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e28fd1d9265c3e1bf4d0d80794f04e2b636bf712cee8852b7c8ffd358015c386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28fd1d9265c3e1bf4d0d80794f04e2b636bf712cee8852b7c8ffd358015c386", kill_on_drop: false }` [INFO] [stdout] e28fd1d9265c3e1bf4d0d80794f04e2b636bf712cee8852b7c8ffd358015c386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5922a2a4f0832d9210ed6db315829d835c7d4ff63796b482ec033f5c053d6333 [INFO] running `Command { std: "docker" "start" "-a" "5922a2a4f0832d9210ed6db315829d835c7d4ff63796b482ec033f5c053d6333", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking uniffi_core v0.29.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rowan v0.16.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Checking utilities v0.1.0 (/opt/rustwide/workdir/utilities) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> utilities/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nom_locate v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling uniffi_internal_macros v0.29.3 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking uniffi_pipeline v0.29.3 [INFO] [stderr] Checking uniffi_meta v0.29.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking uniffi_udl v0.29.3 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling uniffi_macros v0.29.3 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Checking askama v0.13.1 [INFO] [stderr] Checking uniffi_bindgen v0.29.3 [INFO] [stderr] Checking uniffi v0.29.3 [INFO] [stderr] Checking context_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bumpalo::Bump` [INFO] [stdout] --> src/runtime.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bumpalo::Bump; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/runtime.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conversions::*` [INFO] [stdout] --> src/ffi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/ffi.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use uniffi::{self, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bumpalo::Bump` [INFO] [stdout] --> src/runtime.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bumpalo::Bump; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/runtime.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::conversions::*` [INFO] [stdout] --> src/ffi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::conversions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/ffi.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use uniffi::{self, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiagnosticSeverity` [INFO] [stdout] --> src/conversions.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::diagnostic::{Diagnostic, DiagnosticSeverity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/syntax.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiagnosticSeverity` [INFO] [stdout] --> src/conversions.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::diagnostic::{Diagnostic, DiagnosticSeverity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ffi.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut runtime = Runtime::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `runtime::Runtime` in the current scope [INFO] [stdout] --> src/lib.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | let runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `runtime::Runtime` [INFO] [stdout] | [INFO] [stdout] ::: src/runtime.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Runtime { [INFO] [stdout] | ------------------ method `unwrap` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ffi.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut runtime = Runtime::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DocumentData` is more private than the item `runtime::Runtime::with_document` [INFO] [stdout] --> src/runtime.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn with_document(&self, uri: &str, f: F) -> Option [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | F: FnOnce(&DocumentData) -> R [INFO] [stdout] | |_____________________________________^ method `runtime::Runtime::with_document` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DocumentData` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/runtime.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct DocumentData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compilation_config` is never read [INFO] [stdout] --> src/ffi.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct ContextRuntimeHandle { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | compilation_config: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arena` is never read [INFO] [stdout] --> src/syntax.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SyntaxTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | arena: Bump, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `context_runtime` (lib test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/test_utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_span` [INFO] [stdout] --> tests/test_utils.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! assert_span { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuntimeError` [INFO] [stdout] --> tests/compilation.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use context_runtime::runtime::{Runtime, RuntimeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/compilation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context_runtime::ast` [INFO] [stdout] --> tests/parser.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use context_runtime::ast::{ConTeXtNode, ArgumentStyle, CommandStyle}; [INFO] [stdout] | ^^^ could not find `ast` in `context_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context_runtime::ast` [INFO] [stdout] --> tests/parser.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use context_runtime::ast::{ConTeXtNode, ArgumentStyle, CommandStyle}; [INFO] [stdout] | ^^^ could not find `ast` in `context_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/compilation.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | let compiler = ConTeXtCompiler::new() [INFO] [stdout] | ____________________- [INFO] [stdout] 12 | | .expect("Failed to create ConTeXt compiler"); [INFO] [stdout] | | -^^^^^^ method not found in `ConTeXtCompiler` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(compiler.is_ok(), "Compiler should initialize"); [INFO] [stdout] | ^^^^^ method not found in `ConTeXtCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_comment` in module `parser` [INFO] [stdout] --> tests/parser.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_- similarly named function `parse_command` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] 13 + let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parse_comment; [INFO] [stdout] | [INFO] [stdout] help: if you import `parse_comment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] 13 + let result = parse_comment(LocatedSpan::new(input)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_startstop` in module `parser` [INFO] [stdout] --> tests/parser.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | let result = parser::parse_startstop(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_executable` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let compiler = ConTeXtCompiler::with_executable(fake_exec); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `ConTeXtCompiler` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ConTeXtCompiler`, consider using `ConTeXtCompiler::new` which returns `ConTeXtCompiler` [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_executable` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn get_executable(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_document` is private [INFO] [stdout] --> tests/parser.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_document` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn parse_document<'a>( [INFO] [stdout] 24 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 25 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 26 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 27 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_document` is private [INFO] [stdout] --> tests/parser.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_document` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn parse_document<'a>( [INFO] [stdout] 24 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 25 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 26 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 27 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `Runtime` in the current scope [INFO] [stdout] --> tests/compilation.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | let runtime = Runtime::new().expect("Failed to create runtime"); [INFO] [stdout] | ^^^^^^ method not found in `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_executable` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | let compiler = ConTeXtCompiler::with_executable(PathBuf::from("/nonexistent/path")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `ConTeXtCompiler` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ConTeXtCompiler`, consider using `ConTeXtCompiler::new` which returns `ConTeXtCompiler` [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_executable` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn get_executable(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Runtime` in the current scope [INFO] [stdout] --> tests/runtime.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | let runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_comment` in module `parser` [INFO] [stdout] --> tests/parser.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_- similarly named function `parse_command` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] 13 + let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::parse_comment; [INFO] [stdout] | [INFO] [stdout] help: if you import `parse_comment`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let result = parser::parse_comment(LocatedSpan::new(input)); [INFO] [stdout] 13 + let result = parse_comment(LocatedSpan::new(input)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_startstop` in module `parser` [INFO] [stdout] --> tests/parser.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | let result = parser::parse_startstop(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Runtime` in the current scope [INFO] [stdout] --> tests/compilation.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | let runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_document` is private [INFO] [stdout] --> tests/parser.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_document` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn parse_document<'a>( [INFO] [stdout] 24 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 25 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 26 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 27 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_document` is private [INFO] [stdout] --> tests/parser.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_document` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / fn parse_document<'a>( [INFO] [stdout] 24 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 25 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 26 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 27 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0603]: function `parse_command` is private [INFO] [stdout] --> tests/parser.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `parse_command` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / fn parse_command<'a>( [INFO] [stdout] 80 | | source: &'a str, // Added lifetime 'a [INFO] [stdout] 81 | | tokens: &mut Vec<(Token, logos::Span)>, [INFO] [stdout] 82 | | builder: &mut SyntaxTreeBuilder<'a>, [INFO] [stdout] 83 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `context_runtime` (test "runtime") due to 4 previous errors [INFO] [stderr] error: could not compile `context_runtime` (test "compilation") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 31 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 31 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 31 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 31 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 31 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 34 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 34 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 67 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 67 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 67 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 67 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 67 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 70 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 70 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 70 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 70 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 100 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 100 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 100 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 100 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 100 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 103 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 103 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/parser.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | let result = parser::parse_text(LocatedSpan::new(input)); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_text(text: &str) -> SyntaxTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 131 | let result = parser::parse_text(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/parser.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | let result = parser::parse_text(LocatedSpan::new(input)); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_text(text: &str) -> SyntaxTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 131 | let result = parser::parse_text(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for struct `SyntaxTree` in the current scope [INFO] [stdout] --> tests/parser.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `SyntaxTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for struct `SyntaxTree` in the current scope [INFO] [stdout] --> tests/parser.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `SyntaxTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `SyntaxTree` in the current scope [INFO] [stdout] --> tests/parser.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 134 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 134 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `SyntaxTree` in the current scope [INFO] [stdout] --> tests/parser.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 134 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 134 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_document<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_document<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 195 | let result = parser::parse_document(input, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | let document = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 198 - let document = result.unwrap(); [INFO] [stdout] 198 + let document = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | let document = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 198 - let document = result.unwrap(); [INFO] [stdout] 198 + let document = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_document<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_document<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 241 | let result = parser::parse_document(input, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | let document = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 244 - let document = result.unwrap(); [INFO] [stdout] 244 + let document = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:291:40 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 291 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 291 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | let document = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 244 - let document = result.unwrap(); [INFO] [stdout] 244 + let document = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> tests/parser.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- two arguments of type `&mut Vec<(Token, std::ops::Range)>` and `&mut SyntaxTreeBuilder<'_>` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `LocatedSpan<&str>` [INFO] [stdout] --> tests/parser.rs:291:40 [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `LocatedSpan<&str>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_command<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 291 | let result = parser::parse_command(&LocatedSpan::new(input)); [INFO] [stdout] | + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 291 - let result = parser::parse_command(LocatedSpan::new(input)); [INFO] [stdout] 291 + let result = parser::parse_command(/* &str */, /* &mut Vec<(Token, std::ops::Range)> */, /* &mut SyntaxTreeBuilder<'_> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 294 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 294 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/parser.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | let (remaining, node) = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 294 - let (remaining, node) = result.unwrap(); [INFO] [stdout] 294 + let (remaining, node) = result.wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(compiler.is_ok(), "Compiler should initialize"); [INFO] [stdout] | ^^^^^ method not found in `ConTeXtCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_executable` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let compiler = ConTeXtCompiler::with_executable(fake_exec); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `ConTeXtCompiler` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ConTeXtCompiler`, consider using `ConTeXtCompiler::new` which returns `ConTeXtCompiler` [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_executable` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn get_executable(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `context_runtime` (test "parser") due to 30 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `with_executable` found for struct `ConTeXtCompiler` in the current scope [INFO] [stdout] --> tests/runtime.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | let compiler = ConTeXtCompiler::with_executable(PathBuf::from("/nonexistent/path")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `ConTeXtCompiler` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ConTeXtCompiler`, consider using `ConTeXtCompiler::new` which returns `ConTeXtCompiler` [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_executable` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn get_executable(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Runtime` in the current scope [INFO] [stdout] --> tests/runtime.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | let runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 29 - let runtime = Runtime::new().unwrap(); [INFO] [stdout] 29 + let runtime = Runtime::new().wrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `context_runtime` (test "mod") due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "5922a2a4f0832d9210ed6db315829d835c7d4ff63796b482ec033f5c053d6333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5922a2a4f0832d9210ed6db315829d835c7d4ff63796b482ec033f5c053d6333", kill_on_drop: false }` [INFO] [stdout] 5922a2a4f0832d9210ed6db315829d835c7d4ff63796b482ec033f5c053d6333