[INFO] fetching crate symjit 2.16.1... [INFO] testing symjit-2.16.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate symjit 2.16.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate symjit 2.16.1 [INFO] finished tweaking crates.io crate symjit 2.16.1 [INFO] tweaked toml for crates.io crate symjit 2.16.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate symjit 2.16.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate symjit 2.16.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v34.0.2 [INFO] [stderr] Downloaded spec_math v0.1.6 [INFO] [stderr] Downloaded region v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd28841739a939a8bcdedc3eb54ddd2de0482f1b631036d07574d0bbb6f5cf04 [INFO] running `Command { std: "docker" "start" "-a" "cd28841739a939a8bcdedc3eb54ddd2de0482f1b631036d07574d0bbb6f5cf04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd28841739a939a8bcdedc3eb54ddd2de0482f1b631036d07574d0bbb6f5cf04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd28841739a939a8bcdedc3eb54ddd2de0482f1b631036d07574d0bbb6f5cf04", kill_on_drop: false }` [INFO] [stdout] cd28841739a939a8bcdedc3eb54ddd2de0482f1b631036d07574d0bbb6f5cf04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2e83d41c93e577aa060dfc13530545dec08e199caa6a93ac45cda03071436a4 [INFO] running `Command { std: "docker" "start" "-a" "e2e83d41c93e577aa060dfc13530545dec08e199caa6a93ac45cda03071436a4", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling safe_arch v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v34.0.2 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling spec_math v0.1.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling wide v1.1.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling petgraph v0.8.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling symjit v2.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `rd2` [INFO] [stdout] --> rust/arm/macros.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! rd2 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `of7` [INFO] [stdout] --> rust/arm/macros.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! of7 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> rust/lib.rs:1230:42 [INFO] [stdout] | [INFO] [stdout] 1230 | pub unsafe extern "C" fn finalize_defuns(df: *mut Defuns) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32` is never constructed [INFO] [stdout] --> rust/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum DataType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 48 | F32, [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 15.87s [INFO] running `Command { std: "docker" "inspect" "e2e83d41c93e577aa060dfc13530545dec08e199caa6a93ac45cda03071436a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e83d41c93e577aa060dfc13530545dec08e199caa6a93ac45cda03071436a4", kill_on_drop: false }` [INFO] [stdout] e2e83d41c93e577aa060dfc13530545dec08e199caa6a93ac45cda03071436a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66dda436ef889b44b7369e4983c973670ee68fe006574dbda686759a4fe90c27 [INFO] running `Command { std: "docker" "start" "-a" "66dda436ef889b44b7369e4983c973670ee68fe006574dbda686759a4fe90c27", kill_on_drop: false }` [INFO] [stderr] Compiling symjit v2.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `rd2` [INFO] [stdout] --> rust/arm/macros.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! rd2 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `of7` [INFO] [stdout] --> rust/arm/macros.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! of7 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> rust/lib.rs:1230:42 [INFO] [stdout] | [INFO] [stdout] 1230 | pub unsafe extern "C" fn finalize_defuns(df: *mut Defuns) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32` is never constructed [INFO] [stdout] --> rust/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum DataType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 48 | F32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> rust/lib.rs:1230:42 [INFO] [stdout] | [INFO] [stdout] 1230 | pub unsafe extern "C" fn finalize_defuns(df: *mut Defuns) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32` is never constructed [INFO] [stdout] --> rust/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum DataType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 48 | F32, [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 4.57s [INFO] running `Command { std: "docker" "inspect" "66dda436ef889b44b7369e4983c973670ee68fe006574dbda686759a4fe90c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66dda436ef889b44b7369e4983c973670ee68fe006574dbda686759a4fe90c27", kill_on_drop: false }` [INFO] [stdout] 66dda436ef889b44b7369e4983c973670ee68fe006574dbda686759a4fe90c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26c0f9e903ddea10b63384932943ecb6f37024886b2092864b2818d4f61bf745 [INFO] running `Command { std: "docker" "start" "-a" "26c0f9e903ddea10b63384932943ecb6f37024886b2092864b2818d4f61bf745", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `rd2` [INFO] [stderr] --> rust/arm/macros.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | macro_rules! rd2 { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `of7` [INFO] [stderr] --> rust/arm/macros.rs:81:14 [INFO] [stderr] | [INFO] [stderr] 81 | macro_rules! of7 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `df` [INFO] [stderr] --> rust/lib.rs:1230:42 [INFO] [stderr] | [INFO] [stderr] 1230 | pub unsafe extern "C" fn finalize_defuns(df: *mut Defuns) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `F32` is never constructed [INFO] [stderr] --> rust/utils.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 47 | pub enum DataType { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 48 | F32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `symjit` (lib) generated 4 warnings (run `cargo fix --lib -p symjit` to apply 1 suggestion) [INFO] [stderr] warning: `symjit` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests rust/lib.rs (/opt/rustwide/target/debug/deps/symjit-d0facaf46be91d59) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test arm::macros::test_arm ... ok [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] [stderr] Running unittests rust/bin.rs (/opt/rustwide/target/debug/deps/symjit-488d032c3b802672) [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] Doc-tests symjit [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test rust/expr.rs - expr::Expr (line 22) ... FAILED [INFO] [stdout] test rust/lib.rs - add_func (line 1239) ... FAILED [INFO] [stdout] test rust/lib.rs - add_row (line 1171) ... FAILED [INFO] [stdout] test rust/lib.rs - callable_filter (line 1118) ... FAILED [INFO] [stdout] test rust/lib.rs - callable_quad_fast (line 1068) ... FAILED [INFO] [stdout] test rust/compiler.rs - compiler::Compiler (line 67) ... FAILED [INFO] [stdout] test rust/lib.rs - callable_quad (line 1049) ... FAILED [INFO] [stdout] test rust/lib.rs - count_obs (line 706) ... FAILED [INFO] [stdout] test rust/expr.rs - expr::Expr::prod (line 265) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 181) ... ok [INFO] [stdout] test rust/lib.rs - check_status (line 548) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 221) ... ok [INFO] [stdout] test rust/lib.rs - count_params (line 690) ... FAILED [INFO] [stdout] test rust/lib.rs - compile (line 378) ... FAILED [INFO] [stdout] test rust/lib.rs - count_diffs (line 724) ... FAILED [INFO] [stdout] test rust/lib.rs - create_defuns (line 1214) ... FAILED [INFO] [stdout] test rust/lib.rs - create_matrix (line 1146) ... FAILED [INFO] [stdout] test rust/lib.rs - count_states (line 674) ... FAILED [INFO] [stdout] test rust/compiler.rs - compiler::Application::fast_func (line 309) ... FAILED [INFO] [stdout] test rust/lib.rs - dump (line 978) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 127) ... FAILED [INFO] [stdout] test rust/lib.rs - finalize (line 1000) ... FAILED [INFO] [stdout] test rust/lib.rs - evaluate (line 830) ... FAILED [INFO] [stdout] test rust/lib.rs - evaluate_matrix (line 856) ... FAILED [INFO] [stdout] test rust/lib.rs - get_config (line 643) ... FAILED [INFO] [stdout] test rust/lib.rs - info (line 1017) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 228) ... FAILED [INFO] [stdout] test rust/lib.rs - finalize_defuns (line 1226) ... FAILED [INFO] [stdout] test rust/lib.rs - ptr_diffs (line 955) ... FAILED [INFO] [stdout] test rust/lib.rs - load (line 591) ... FAILED [INFO] [stdout] test rust/lib.rs - execute (line 778) ... FAILED [INFO] [stdout] test rust/lib.rs - ptr_states (line 889) ... FAILED [INFO] [stdout] test rust/lib.rs - translate (line 473) ... FAILED [INFO] [stdout] test rust/lib.rs - ptr_obs (line 930) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 98) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 262) ... FAILED [INFO] [stdout] test rust/lib.rs - ptr_params (line 911) ... FAILED [INFO] [stdout] test rust/lib.rs - finalize_matrix (line 1158) ... FAILED [INFO] [stdout] test rust/lib.rs - fast_func (line 1030) ... FAILED [INFO] [stdout] test rust/lib.rs - execute_matrix (line 1184) ... FAILED [INFO] [stdout] test rust/expr.rs - expr::Expr::sum (line 242) ... FAILED [INFO] [stdout] test rust/lib.rs - save (line 562) ... FAILED [INFO] [stdout] test rust/lib.rs - execute_vectorized (line 801) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 149) ... FAILED [INFO] [stdout] test rust/compiler.rs - compiler::Compiler::translate (line 928) ... FAILED [INFO] [stdout] test rust/lib.rs - (line 65) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- rust/expr.rs - expr::Expr (line 22) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> rust/expr.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | let x = Expr::var("x"); # create a new variable [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - add_func (line 1239) stdout ---- [INFO] [stdout] error: expected item, found `1` [INFO] [stdout] --> rust/lib.rs:1240:1 [INFO] [stdout] | [INFO] [stdout] 1240 | 1, df should point to a valid Defun object created by create_defun. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - add_row (line 1171) stdout ---- [INFO] [stdout] error: expected item, found `1` [INFO] [stdout] --> rust/lib.rs:1172:1 [INFO] [stdout] | [INFO] [stdout] 1172 | 1, mat should point to a valid Matrix object created by create_matrix. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - callable_filter (line 1118) stdout ---- [INFO] [stdout] error: expected item, found `1.` [INFO] [stdout] --> rust/lib.rs:1119:1 [INFO] [stdout] | [INFO] [stdout] 1119 | 1. If the model cannot be compiled to a fast function, NULL is returned. [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - callable_quad_fast (line 1068) stdout ---- [INFO] [stdout] error: expected item, found `1.` [INFO] [stdout] --> rust/lib.rs:1069:1 [INFO] [stdout] | [INFO] [stdout] 1069 | 1. If the model cannot be compiled to a fast function, NULL is returned. [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/compiler.rs - compiler::Compiler (line 67) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Config` in this scope [INFO] [stdout] --> rust/compiler.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let mut config = Config::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 69 + use petgraph::dot::Config; [INFO] [stdout] | [INFO] [stdout] 69 + use symjit::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - callable_quad (line 1049) stdout ---- [INFO] [stdout] error: expected item, found `1.` [INFO] [stdout] --> rust/lib.rs:1050:1 [INFO] [stdout] | [INFO] [stdout] 1050 | 1. If the model cannot be compiled to a fast function, NULL is returned. [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - count_obs (line 706) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:707:4 [INFO] [stdout] | [INFO] [stdout] 707 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 707 - it is the responsibility of the calling function to ensure [INFO] [stdout] 707 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/expr.rs - expr::Expr::prod (line 265) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let x = Expr::var("x"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 265 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let i = Expr::var("i"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 265 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | let p = i.prod(&i, &Expr::from(1), &x); // this is the factorial function [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 265 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/expr.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | let mut comp = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 265 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - check_status (line 548) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 549 - it is the responsibility of the calling function to ensure [INFO] [stdout] 549 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - count_params (line 690) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:691:4 [INFO] [stdout] | [INFO] [stdout] 691 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 691 - it is the responsibility of the calling function to ensure [INFO] [stdout] 691 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - compile (line 378) stdout ---- [INFO] [stdout] error: expected item, found `*` [INFO] [stdout] --> rust/lib.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 379 | * both model and ty are pointers to null-terminated strings. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - count_diffs (line 724) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:725:4 [INFO] [stdout] | [INFO] [stdout] 725 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 725 - it is the responsibility of the calling function to ensure [INFO] [stdout] 725 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - create_defuns (line 1214) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `returns` [INFO] [stdout] --> rust/lib.rs:1215:4 [INFO] [stdout] | [INFO] [stdout] 1215 | It returns a pointer to the allocated Defun, which needs to be [INFO] [stdout] | ^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - create_matrix (line 1146) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `returns` [INFO] [stdout] --> rust/lib.rs:1147:4 [INFO] [stdout] | [INFO] [stdout] 1147 | It returns a pointer to the allocated Matrix, which needs to be [INFO] [stdout] | ^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - count_states (line 674) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:675:4 [INFO] [stdout] | [INFO] [stdout] 675 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 675 - it is the responsibility of the calling function to ensure [INFO] [stdout] 675 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/compiler.rs - compiler::Application::fast_func (line 309) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/compiler.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let x = Expr::var("x"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/compiler.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let y = Expr::var("y"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/compiler.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let z = Expr::var("z"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/compiler.rs:314:34 [INFO] [stdout] | [INFO] [stdout] 314 | let u = &x * &(&y - &z).pow(&Expr::from(2)); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/compiler.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | let mut comp = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FastFunc` in this scope [INFO] [stdout] --> rust/compiler.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | if let FastFunc::F3(f, _) = f { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FastFunc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 309 + use symjit::FastFunc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> rust/compiler.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | fn test_fast() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 310 | fn test_fast() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - dump (line 978) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:979:4 [INFO] [stdout] | [INFO] [stdout] 979 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 979 - it is the responsibility of the calling function to ensure [INFO] [stdout] 979 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - (line 127) stdout ---- [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> rust/lib.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | fn test_exp() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 131 | fn test_exp() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Application` [INFO] [stdout] --> rust/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 142 | let mut app = Compiler::new().compile(&[x], &[u])?; [INFO] [stdout] | ------- `app` has type `Application` [INFO] [stdout] 143 | println!("{:?}", app(&[2.0])[0]); // returns exp(2.0) = 7.38905... [INFO] [stdout] | ^^^-------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0618. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - finalize (line 1000) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:1001:4 [INFO] [stdout] | [INFO] [stdout] 1001 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 1001 - it is the responsibility of the calling function to ensure [INFO] [stdout] 1001 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - evaluate (line 830) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:831:4 [INFO] [stdout] | [INFO] [stdout] 831 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 831 - it is the responsibility of the calling function to ensure [INFO] [stdout] 831 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - evaluate_matrix (line 856) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:857:4 [INFO] [stdout] | [INFO] [stdout] 857 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 857 - it is the responsibility of the calling function to ensure [INFO] [stdout] 857 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - get_config (line 643) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 644 - it is the responsibility of the calling function to ensure [INFO] [stdout] 644 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - info (line 1017) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `return` [INFO] [stdout] --> rust/lib.rs:1018:5 [INFO] [stdout] | [INFO] [stdout] 1018 | the return value is a null-terminated string that should not [INFO] [stdout] | ^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - (line 228) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/lib.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let x = Expr::var("x"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 228 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/lib.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let u = Expr::unary("f_", &x); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 228 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/lib.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let v = &x * &Expr::binary("g_", &u, &x); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 228 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/lib.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let mut comp = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 228 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> rust/lib.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | fn test_external() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 237 | fn test_external() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - finalize_defuns (line 1226) stdout ---- [INFO] [stdout] error: expected item, found `1` [INFO] [stdout] --> rust/lib.rs:1227:1 [INFO] [stdout] | [INFO] [stdout] 1227 | 1, df should point to a valid Defun object created by create_defuns. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - ptr_diffs (line 955) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:956:4 [INFO] [stdout] | [INFO] [stdout] 956 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 956 - it is the responsibility of the calling function to ensure [INFO] [stdout] 956 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - load (line 591) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 592 - it is the responsibility of the calling function to ensure [INFO] [stdout] 592 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - execute (line 778) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:779:4 [INFO] [stdout] | [INFO] [stdout] 779 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 779 - it is the responsibility of the calling function to ensure [INFO] [stdout] 779 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - ptr_states (line 889) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:890:4 [INFO] [stdout] | [INFO] [stdout] 890 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 890 - it is the responsibility of the calling function to ensure [INFO] [stdout] 890 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - translate (line 473) stdout ---- [INFO] [stdout] error: expected item, found `*` [INFO] [stdout] --> rust/lib.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | * both model and ty are pointers to null-terminated strings. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - ptr_obs (line 930) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:931:4 [INFO] [stdout] | [INFO] [stdout] 931 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 931 - it is the responsibility of the calling function to ensure [INFO] [stdout] 931 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - (line 98) stdout ---- [INFO] [stdout] error[E0599]: no method named `opt_level` found for struct `Compiler` in the current scope [INFO] [stdout] --> rust/lib.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | comp.opt_level(2); // optional (opt_level 0 to 2; default 1) [INFO] [stdout] | ^^^^^^^^^ method not found in `Compiler` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_simd_params` found for struct `Application` in the current scope [INFO] [stdout] --> rust/lib.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let res = app.call_simd_params(&[a], &[5.0])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `call_params` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 - let res = app.call_simd_params(&[a], &[5.0])?; [INFO] [stdout] 116 + let res = app.call_params(&[a], &[5.0])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - (line 262) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `var` in this scope [INFO] [stdout] --> rust/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let x = var("x"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 262 + use std::env::var; [INFO] [stdout] | [INFO] [stdout] 262 + use symjit::var; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int` in this scope [INFO] [stdout] --> rust/lib.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let mut u = int(1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 265 - let mut u = int(1); [INFO] [stdout] 265 + let mut u = i32(1); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 262 + use symjit::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/lib.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | let mut app = Compiler::new().compile(&[x], &[&int(2) / &u])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 262 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int` in this scope [INFO] [stdout] --> rust/lib.rs:278:52 [INFO] [stdout] | [INFO] [stdout] 278 | let mut app = Compiler::new().compile(&[x], &[&int(2) / &u])?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 278 - let mut app = Compiler::new().compile(&[x], &[&int(2) / &u])?; [INFO] [stdout] 278 + let mut app = Compiler::new().compile(&[x], &[&i32(2) / &u])?; [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 262 + use symjit::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> rust/lib.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | fn test_pi_viete(silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 263 | fn test_pi_viete(silent: bool) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - ptr_params (line 911) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:912:4 [INFO] [stdout] | [INFO] [stdout] 912 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 912 - it is the responsibility of the calling function to ensure [INFO] [stdout] 912 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - finalize_matrix (line 1158) stdout ---- [INFO] [stdout] error: expected item, found `1` [INFO] [stdout] --> rust/lib.rs:1159:1 [INFO] [stdout] | [INFO] [stdout] 1159 | 1, mat should point to a valid Matrix object created by create_matrix. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - fast_func (line 1030) stdout ---- [INFO] [stdout] error: expected item, found `1.` [INFO] [stdout] --> rust/lib.rs:1031:1 [INFO] [stdout] | [INFO] [stdout] 1031 | 1. If the model cannot be compiled to a fast function, NULL is returned. [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - execute_matrix (line 1184) stdout ---- [INFO] [stdout] error: expected item, found `1` [INFO] [stdout] --> rust/lib.rs:1185:1 [INFO] [stdout] | [INFO] [stdout] 1185 | 1, q should point to a valid CompilerResult object. [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/expr.rs - expr::Expr::sum (line 242) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let x = Expr::var("x"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 242 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let i = Expr::var("i"); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 242 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Expr` in this scope [INFO] [stdout] --> rust/expr.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let p = i.sum(&i, &Expr::from(1), &x); [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 242 + use symjit::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/expr.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | let mut comp = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 242 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - save (line 562) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:563:4 [INFO] [stdout] | [INFO] [stdout] 563 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 563 - it is the responsibility of the calling function to ensure [INFO] [stdout] 563 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - execute_vectorized (line 801) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> rust/lib.rs:802:4 [INFO] [stdout] | [INFO] [stdout] 802 | it is the responsibility of the calling function to ensure [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `if` with a similar name [INFO] [stdout] | [INFO] [stdout] 802 - it is the responsibility of the calling function to ensure [INFO] [stdout] 802 + if is the responsibility of the calling function to ensure [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/lib.rs - (line 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> rust/lib.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | let mut app = Compiler::new().compile(&[x], &[v])?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 165 - let mut app = Compiler::new().compile(&[x], &[v])?; [INFO] [stdout] 165 + let mut app = Compiler::new().compile(&[i], &[v])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> rust/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_pi() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 153 | fn test_pi() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust/lib.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | let v = (&numer / &denom).sum(&j, &int(0), &int(&n)); [INFO] [stdout] | --- ^^ expected `i32`, found `&Expr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> rust/expr.rs:573:8 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn int(val: i32) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Application` [INFO] [stdout] --> rust/lib.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 165 | let mut app = Compiler::new().compile(&[x], &[v])?; [INFO] [stdout] | ------- `app` has type `Application` [INFO] [stdout] 166 | println!("{:?}", app(&[100000000])[0]); // returns pi [INFO] [stdout] | ^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0425, E0618. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- rust/compiler.rs - compiler::Compiler::translate (line 928) stdout ---- [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> rust/compiler.rs:933:1 [INFO] [stdout] | [INFO] [stdout] 933 | let json = serde_json::to_string(&eval.export_instructions())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> rust/compiler.rs:931:79 [INFO] [stdout] | [INFO] [stdout] 931 | .evaluator(&FunctionMap::new(), ¶ms, OptimizationSettings::default())? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 932 | [INFO] [stdout] 933 | let json = serde_json::to_string(&eval.export_instructions())?; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parse` in this scope [INFO] [stdout] --> rust/compiler.rs:930:12 [INFO] [stdout] | [INFO] [stdout] 930 | let eval = parse!("x + y^2") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parse` in this scope [INFO] [stdout] --> rust/compiler.rs:929:32 [INFO] [stdout] | [INFO] [stdout] 929 | let params = vec![parse!("x"), parse!("y")]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parse` in this scope [INFO] [stdout] --> rust/compiler.rs:929:19 [INFO] [stdout] | [INFO] [stdout] 929 | let params = vec![parse!("x"), parse!("y")]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Compiler` in this scope [INFO] [stdout] --> rust/compiler.rs:934:16 [INFO] [stdout] | [INFO] [stdout] 934 | let mut comp = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 928 + use symjit::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FunctionMap` in this scope [INFO] [stdout] --> rust/compiler.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | .evaluator(&FunctionMap::new(), ¶ms, OptimizationSettings::default())? [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FunctionMap` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OptimizationSettings` in this scope [INFO] [stdout] --> rust/compiler.rs:931:46 [INFO] [stdout] | [INFO] [stdout] 931 | .evaluator(&FunctionMap::new(), ¶ms, OptimizationSettings::default())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OptimizationSettings` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> rust/compiler.rs:933:62 [INFO] [stdout] | [INFO] [stdout] 928 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_compiler_rs_928_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 933 | let json = serde_json::to_string(&eval.export_instructions())?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 928 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_compiler_rs_928_0() -> Result<(), Box> { [INFO] [stdout] 929 | let params = vec![parse!("x"), parse!("y")]; [INFO] [stdout] ... [INFO] [stdout] 936 | assert!(app.evaluate_single(&[2.0, 3.0]) == 11.0); [INFO] [stdout] 937 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] rust/compiler.rs - compiler::Application::fast_func (line 309) [INFO] [stdout] rust/compiler.rs - compiler::Compiler (line 67) [INFO] [stdout] rust/compiler.rs - compiler::Compiler::translate (line 928) [INFO] [stdout] rust/expr.rs - expr::Expr (line 22) [INFO] [stdout] rust/expr.rs - expr::Expr::prod (line 265) [INFO] [stdout] rust/expr.rs - expr::Expr::sum (line 242) [INFO] [stdout] rust/lib.rs - (line 127) [INFO] [stdout] rust/lib.rs - (line 149) [INFO] [stdout] rust/lib.rs - (line 228) [INFO] [stdout] rust/lib.rs - (line 262) [INFO] [stdout] rust/lib.rs - (line 98) [INFO] [stdout] rust/lib.rs - add_func (line 1239) [INFO] [stdout] rust/lib.rs - add_row (line 1171) [INFO] [stdout] rust/lib.rs - callable_filter (line 1118) [INFO] [stdout] rust/lib.rs - callable_quad (line 1049) [INFO] [stdout] rust/lib.rs - callable_quad_fast (line 1068) [INFO] [stdout] rust/lib.rs - check_status (line 548) [INFO] [stdout] rust/lib.rs - compile (line 378) [INFO] [stdout] rust/lib.rs - count_diffs (line 724) [INFO] [stdout] rust/lib.rs - count_obs (line 706) [INFO] [stdout] rust/lib.rs - count_params (line 690) [INFO] [stdout] rust/lib.rs - count_states (line 674) [INFO] [stdout] rust/lib.rs - create_defuns (line 1214) [INFO] [stdout] rust/lib.rs - create_matrix (line 1146) [INFO] [stdout] rust/lib.rs - dump (line 978) [INFO] [stdout] rust/lib.rs - evaluate (line 830) [INFO] [stdout] rust/lib.rs - evaluate_matrix (line 856) [INFO] [stdout] rust/lib.rs - execute (line 778) [INFO] [stdout] rust/lib.rs - execute_matrix (line 1184) [INFO] [stdout] rust/lib.rs - execute_vectorized (line 801) [INFO] [stdout] rust/lib.rs - fast_func (line 1030) [INFO] [stdout] rust/lib.rs - finalize (line 1000) [INFO] [stdout] rust/lib.rs - finalize_defuns (line 1226) [INFO] [stdout] rust/lib.rs - finalize_matrix (line 1158) [INFO] [stdout] rust/lib.rs - get_config (line 643) [INFO] [stdout] rust/lib.rs - info (line 1017) [INFO] [stdout] rust/lib.rs - load (line 591) [INFO] [stdout] rust/lib.rs - ptr_diffs (line 955) [INFO] [stdout] rust/lib.rs - ptr_obs (line 930) [INFO] [stdout] rust/lib.rs - ptr_params (line 911) [INFO] [stdout] rust/lib.rs - ptr_states (line 889) [INFO] [stdout] rust/lib.rs - save (line 562) [INFO] [stdout] rust/lib.rs - translate (line 473) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 43 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "26c0f9e903ddea10b63384932943ecb6f37024886b2092864b2818d4f61bf745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c0f9e903ddea10b63384932943ecb6f37024886b2092864b2818d4f61bf745", kill_on_drop: false }` [INFO] [stdout] 26c0f9e903ddea10b63384932943ecb6f37024886b2092864b2818d4f61bf745