[INFO] fetching crate oak-d 0.0.0... [INFO] testing oak-d-0.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate oak-d 0.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate oak-d 0.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate oak-d 0.0.0 [INFO] tweaked toml for crates.io crate oak-d 0.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oak-d 0.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oak-d 0.0.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ead46e376442f36a9b9433e4a11e4b2c8291a428548abaff4f4f739870ba266 [INFO] running `Command { std: "docker" "start" "-a" "8ead46e376442f36a9b9433e4a11e4b2c8291a428548abaff4f4f739870ba266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ead46e376442f36a9b9433e4a11e4b2c8291a428548abaff4f4f739870ba266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ead46e376442f36a9b9433e4a11e4b2c8291a428548abaff4f4f739870ba266", kill_on_drop: false }` [INFO] [stdout] 8ead46e376442f36a9b9433e4a11e4b2c8291a428548abaff4f4f739870ba266 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa59d8fe58f4b1104bc9098496da7db7c3b1b82157240465bed32e3968828f26 [INFO] running `Command { std: "docker" "start" "-a" "fa59d8fe58f4b1104bc9098496da7db7c3b1b82157240465bed32e3968828f26", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling lsp-types v0.97.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling oak-core v0.0.0 [INFO] [stderr] Compiling oak-d v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DLexer<'config> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | config: &'config DLanguage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.28s [INFO] running `Command { std: "docker" "inspect" "fa59d8fe58f4b1104bc9098496da7db7c3b1b82157240465bed32e3968828f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa59d8fe58f4b1104bc9098496da7db7c3b1b82157240465bed32e3968828f26", kill_on_drop: false }` [INFO] [stdout] fa59d8fe58f4b1104bc9098496da7db7c3b1b82157240465bed32e3968828f26 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d944900621538a9ae089323f9bcdec34e8d22d487f8650e6dba0c9a43a0ef6c [INFO] running `Command { std: "docker" "start" "-a" "4d944900621538a9ae089323f9bcdec34e8d22d487f8650e6dba0c9a43a0ef6c", kill_on_drop: false }` [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DLexer<'config> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | config: &'config DLanguage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oak-d v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DLexer<'config> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | config: &'config DLanguage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "4d944900621538a9ae089323f9bcdec34e8d22d487f8650e6dba0c9a43a0ef6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d944900621538a9ae089323f9bcdec34e8d22d487f8650e6dba0c9a43a0ef6c", kill_on_drop: false }` [INFO] [stdout] 4d944900621538a9ae089323f9bcdec34e8d22d487f8650e6dba0c9a43a0ef6c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81ebd85401640f7d013ae166befef0ace32da2a1e65e3f8875ccacd989c33c34 [INFO] running `Command { std: "docker" "start" "-a" "81ebd85401640f7d013ae166befef0ace32da2a1e65e3f8875ccacd989c33c34", kill_on_drop: false }` [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/lexer/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct DLexer<'config> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 8 | config: &'config DLanguage, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `oak-d` (lib) generated 1 warning [INFO] [stderr] warning: `oak-d` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oak_d-80603c161eda1d57) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-9e4c14ed5f456690) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ready ... ok [INFO] [stderr] Doc-tests oak_d [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/readme.md - (line 153) ... FAILED [INFO] [stdout] test src/readme.md - (line 60) ... FAILED [INFO] [stdout] test src/readme.md - (line 41) ... FAILED [INFO] [stdout] test src/readme.md - (line 136) ... FAILED [INFO] [stdout] test src/readme.md - (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/readme.md - (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `oak_highlight` [INFO] [stdout] --> src/readme.md:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | use oak_highlight::Highlighter; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `oak_highlight` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `oak_highlight`, use `cargo add oak_highlight` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `source` in this scope [INFO] [stdout] --> src/readme.md:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let tokens = lexer.tokenize(source, &DLanguage::standard()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/readme.md:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let lexer = DLexer::new(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `&DLanguage` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lexer/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(config: &'config DLanguage) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 158 | let lexer = DLexer::new(/* &DLanguage */); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for struct `DLexer<'config>` in the current scope [INFO] [stdout] --> src/readme.md:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | let tokens = lexer.tokenize(source, &DLanguage::standard()); [INFO] [stdout] | ^^^^^^^^ method not found in `DLexer<'_>` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Comment` found for enum `DSyntaxKind` in the current scope [INFO] [stdout] --> src/readme.md:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | DSyntaxKind::Comment => "comment", [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `DSyntaxKind` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Keyword` found for enum `DSyntaxKind` in the current scope [INFO] [stdout] --> src/readme.md:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | DSyntaxKind::Keyword => "keyword", [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `DSyntaxKind` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 167 | DSyntaxKind::IfKeyword => "keyword", [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readme.md - (line 60) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `oak_core::ParseContext` [INFO] [stdout] --> src/readme.md:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | use oak_core::{Parser, ParseContext}; [INFO] [stdout] | ^^^^^^^^^^^^ no `ParseContext` in the root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in crate `oak_core` [INFO] [stdout] --> src/readme.md:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let parse_result = oak_core::parse::(source, &mut context); [INFO] [stdout] | ^^^^^ not found in `oak_core` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `source` in this scope [INFO] [stdout] --> src/readme.md:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | let parse_result = oak_core::parse::(source, &mut context); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readme.md - (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DLanguage` [INFO] [stdout] --> src/readme.md:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let standard = DLanguage::standard(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DLanguage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 + use oak_d::DLanguage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DLanguage` [INFO] [stdout] --> src/readme.md:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let minimal = DLanguage::minimal(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DLanguage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 + use oak_d::DLanguage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DLanguage` in this scope [INFO] [stdout] --> src/readme.md:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let custom = DLanguage { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 + use oak_d::DLanguage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readme.md - (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `oak_core::incremental::IncrementalParser`, `oak_core::incremental::ChangeSet` [INFO] [stdout] --> src/readme.md:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | use oak_core::incremental::{IncrementalParser, ChangeSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `ChangeSet` in `tree::incremental` [INFO] [stdout] | | [INFO] [stdout] | no `IncrementalParser` in `tree::incremental` [INFO] [stdout] | help: a similar name exists in the module: `IncrementalCache` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `source` in this scope [INFO] [stdout] --> src/readme.md:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | let initial_result = parser.parse_initial(source); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `old_source` in this scope [INFO] [stdout] --> src/readme.md:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let changes = ChangeSet::from_diff(old_source, new_source); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_source` in this scope [INFO] [stdout] --> src/readme.md:148:48 [INFO] [stdout] | [INFO] [stdout] 148 | let changes = ChangeSet::from_diff(old_source, new_source); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0603]: module `incremental` is private [INFO] [stdout] --> src/readme.md:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | use oak_core::incremental::{IncrementalParser, ChangeSet}; [INFO] [stdout] | ^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `incremental` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oak-core-0.0.0/src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | tree::*, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/readme.md - (line 17) stdout ---- [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/readme.md:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let lexer = DLexer::new(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `&DLanguage` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lexer/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(config: &'config DLanguage) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 26 | let lexer = DLexer::new(/* &DLanguage */); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/readme.md:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let source = Source::from("module example; void main() { writeln(\"Hello, D!\"); }"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 29 | let source = ::from("module example; void main() { writeln(\"Hello, D!\"); }"); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tokenize` found for struct `DLexer<'config>` in the current scope [INFO] [stdout] --> src/readme.md:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let tokens = lexer.tokenize(&source, &language); [INFO] [stdout] | ^^^^^^^^ method not found in `DLexer<'_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599, E0782. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/readme.md - (line 136) [INFO] [stdout] src/readme.md - (line 153) [INFO] [stdout] src/readme.md - (line 17) [INFO] [stdout] src/readme.md - (line 41) [INFO] [stdout] src/readme.md - (line 60) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.17s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "81ebd85401640f7d013ae166befef0ace32da2a1e65e3f8875ccacd989c33c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ebd85401640f7d013ae166befef0ace32da2a1e65e3f8875ccacd989c33c34", kill_on_drop: false }` [INFO] [stdout] 81ebd85401640f7d013ae166befef0ace32da2a1e65e3f8875ccacd989c33c34