[INFO] fetching crate mathcompile 0.1.2... [INFO] testing mathcompile-0.1.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate mathcompile 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mathcompile 0.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mathcompile 0.1.2 [INFO] tweaked toml for crates.io crate mathcompile 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mathcompile 0.1.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mathcompile 0.1.2 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e820e8a39a8286c196827b7799ade1b1cc6819daec2a63fbc592620813611c60 [INFO] running `Command { std: "docker" "start" "-a" "e820e8a39a8286c196827b7799ade1b1cc6819daec2a63fbc592620813611c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e820e8a39a8286c196827b7799ade1b1cc6819daec2a63fbc592620813611c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e820e8a39a8286c196827b7799ade1b1cc6819daec2a63fbc592620813611c60", kill_on_drop: false }` [INFO] [stdout] e820e8a39a8286c196827b7799ade1b1cc6819daec2a63fbc592620813611c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 496a6459f838ce9ae99fb552751ca7fda9ca843908a54cba8de8f438ba7a04e8 [INFO] running `Command { std: "docker" "start" "-a" "496a6459f838ce9ae99fb552751ca7fda9ca843908a54cba8de8f438ba7a04e8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling dot-structures v0.1.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling symbol_table v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling egglog v0.4.0 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling graphviz-rust v0.6.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling egraph-serialize v0.2.0 [INFO] [stderr] Compiling mathcompile v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ASTMathExpr` [INFO] [stdout] --> src/symbolic.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::final_tagless::{ASTMathExpr, ASTRepr, MathExpr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MathExpr` [INFO] [stdout] --> src/symbolic.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::final_tagless::{ASTMathExpr, ASTRepr, MathExpr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/final_tagless.rs:472:32 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn var(name: &str, value: T) -> T { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/final_tagless.rs:572:28 [INFO] [stdout] | [INFO] [stdout] 572 | fn var(name: &str) -> Self::Repr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/summation.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | range: &IntRange, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/summation.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | function: &ASTFunction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_generator` is never read [INFO] [stdout] --> src/symbolic.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SymbolicOptimizer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | rust_generator: crate::backends::RustCodeGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `egglog_to_jit_repr` and `parse_sexpr_parts` are never used [INFO] [stdout] --> src/egglog_integration.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl EgglogOptimizer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | fn egglog_to_jit_repr(&self, egglog_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | fn parse_sexpr_parts<'a>(&self, input: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/backends/rust_codegen.rs:612:15 [INFO] [stdout] | [INFO] [stdout] 602 | impl CompiledRustFunction { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 612 | unsafe fn load(lib_path: &Path, function_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ln_1plus_approx` is never used [INFO] [stdout] --> src/transcendental.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn ln_1plus_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_approx` is never used [INFO] [stdout] --> src/transcendental.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn exp_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin_approx` is never used [INFO] [stdout] --> src/transcendental.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn sin_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos_approx` is never used [INFO] [stdout] --> src/transcendental.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn cos_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub mod summation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1277:5 [INFO] [stdout] | [INFO] [stdout] 1277 | pub start: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | pub end: i64, // inclusive [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1340:5 [INFO] [stdout] | [INFO] [stdout] 1340 | pub start: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1341:5 [INFO] [stdout] | [INFO] [stdout] 1341 | pub end: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1342:5 [INFO] [stdout] | [INFO] [stdout] 1342 | pub step: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1405:5 [INFO] [stdout] | [INFO] [stdout] 1405 | pub start: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1406:5 [INFO] [stdout] | [INFO] [stdout] 1406 | pub end: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1489:5 [INFO] [stdout] | [INFO] [stdout] 1489 | pub index_var: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1490:5 [INFO] [stdout] | [INFO] [stdout] 1490 | pub body: ASTRepr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Arithmetic { coefficient: f64, constant: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | Arithmetic { coefficient: f64, constant: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Geometric { coefficient: f64, ratio: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | Geometric { coefficient: f64, ratio: f64 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Power { exponent: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | Telescoping { function_name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | Constant { value: f64 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | factors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | remaining: ASTRepr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/summation.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | pub fn body(&self) -> &ASTRepr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:530:5 [INFO] [stdout] | [INFO] [stdout] 530 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | Div(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | Pow(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | Ln(Box), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | Exp(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | Sin(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | Cos(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | Sqrt(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/interval_domain.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lower: Endpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/interval_domain.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | upper: Endpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.06s [INFO] running `Command { std: "docker" "inspect" "496a6459f838ce9ae99fb552751ca7fda9ca843908a54cba8de8f438ba7a04e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496a6459f838ce9ae99fb552751ca7fda9ca843908a54cba8de8f438ba7a04e8", kill_on_drop: false }` [INFO] [stdout] 496a6459f838ce9ae99fb552751ca7fda9ca843908a54cba8de8f438ba7a04e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33c1f12b05a33e46ed6fcbd22ddfc662cdb15d2c6880416adf88fb4166ee2942 [INFO] running `Command { std: "docker" "start" "-a" "33c1f12b05a33e46ed6fcbd22ddfc662cdb15d2c6880416adf88fb4166ee2942", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling divan-macros v0.1.21 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling condtype v1.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling graphviz-rust v0.6.6 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling egraph-serialize v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling divan v0.1.21 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling egglog v0.4.0 [INFO] [stderr] Compiling mathcompile v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ASTMathExpr` [INFO] [stdout] --> src/symbolic.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::final_tagless::{ASTMathExpr, ASTRepr, MathExpr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MathExpr` [INFO] [stdout] --> src/symbolic.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::final_tagless::{ASTMathExpr, ASTRepr, MathExpr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/final_tagless.rs:472:32 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn var(name: &str, value: T) -> T { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/final_tagless.rs:572:28 [INFO] [stdout] | [INFO] [stdout] 572 | fn var(name: &str) -> Self::Repr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/summation.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | range: &IntRange, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/summation.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | function: &ASTFunction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_generator` is never read [INFO] [stdout] --> src/symbolic.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SymbolicOptimizer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | rust_generator: crate::backends::RustCodeGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `egglog_to_jit_repr` and `parse_sexpr_parts` are never used [INFO] [stdout] --> src/egglog_integration.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl EgglogOptimizer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | fn egglog_to_jit_repr(&self, egglog_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | fn parse_sexpr_parts<'a>(&self, input: &'a str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/backends/rust_codegen.rs:612:15 [INFO] [stdout] | [INFO] [stdout] 602 | impl CompiledRustFunction { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 612 | unsafe fn load(lib_path: &Path, function_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ln_1plus_approx` is never used [INFO] [stdout] --> src/transcendental.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn ln_1plus_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_approx` is never used [INFO] [stdout] --> src/transcendental.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn exp_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin_approx` is never used [INFO] [stdout] --> src/transcendental.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn sin_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos_approx` is never used [INFO] [stdout] --> src/transcendental.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn cos_approx(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub mod summation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1277:5 [INFO] [stdout] | [INFO] [stdout] 1277 | pub start: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | pub end: i64, // inclusive [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1340:5 [INFO] [stdout] | [INFO] [stdout] 1340 | pub start: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1341:5 [INFO] [stdout] | [INFO] [stdout] 1341 | pub end: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1342:5 [INFO] [stdout] | [INFO] [stdout] 1342 | pub step: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1405:5 [INFO] [stdout] | [INFO] [stdout] 1405 | pub start: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1406:5 [INFO] [stdout] | [INFO] [stdout] 1406 | pub end: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1489:5 [INFO] [stdout] | [INFO] [stdout] 1489 | pub index_var: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/final_tagless.rs:1490:5 [INFO] [stdout] | [INFO] [stdout] 1490 | pub body: ASTRepr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Arithmetic { coefficient: f64, constant: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | Arithmetic { coefficient: f64, constant: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Geometric { coefficient: f64, ratio: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | Geometric { coefficient: f64, ratio: f64 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Power { exponent: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | Telescoping { function_name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | Constant { value: f64 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | factors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/summation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | remaining: ASTRepr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/summation.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | pub fn body(&self) -> &ASTRepr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:530:5 [INFO] [stdout] | [INFO] [stdout] 530 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | Div(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | Pow(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | Ln(Box), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | Exp(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | Sin(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | Cos(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/anf.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | Sqrt(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/interval_domain.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lower: Endpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/interval_domain.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | upper: Endpoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `autodiff` [INFO] [stdout] --> examples/autodiff_rust_codegen_demo.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(all(feature = "autodiff", feature = "optimization"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `autodiff` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `autodiff` [INFO] [stdout] --> examples/autodiff_rust_codegen_demo.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(not(all(feature = "autodiff", feature = "optimization")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `autodiff` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `autodiff` [INFO] [stdout] --> examples/autodiff_demo.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "autodiff")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `autodiff` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `autodiff` [INFO] [stdout] --> examples/autodiff_demo.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(not(feature = "autodiff"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `autodiff` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `autodiff` [INFO] [stdout] --> tests/test_egglog_integration.rs:239:7 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg(feature = "autodiff")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `autodiff` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_var_expr` is never used [INFO] [stdout] --> tests/test_egglog_integration.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn create_var_expr(name: &str) -> ASTRepr { [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 import: `mathcompile::backends::rust_codegen::RustOptLevel` [INFO] [stdout] --> examples/real_ad_performance.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mathcompile::backends::rust_codegen::RustOptLevel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustCodeGenerator` [INFO] [stdout] --> examples/real_ad_performance.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use mathcompile::backends::{RustCodeGenerator, RustCompiler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ASTEval` and `ASTMathExpr` [INFO] [stdout] --> examples/real_ad_performance.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | use mathcompile::final_tagless::{ASTEval, ASTMathExpr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mathcompile::symbolic_ad::convenience` [INFO] [stdout] --> examples/real_ad_performance.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mathcompile::symbolic_ad::convenience; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> examples/real_ad_performance.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/real_ad_performance.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conservative_simplifier` [INFO] [stdout] --> examples/summation_demo.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let conservative_simplifier = SummationSimplifier::with_config(conservative_config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conservative_simplifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aggressive_simplifier` [INFO] [stdout] --> examples/summation_demo.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let aggressive_simplifier = SummationSimplifier::with_config(aggressive_config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggressive_simplifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/real_ad_performance.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 79 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 83 | / if !RustCompiler::is_available() { [INFO] [stdout] 84 | | println!( [INFO] [stdout] 85 | | "❌ rustc is not available. Rust codegen benchmarks require rustc to be installed." [INFO] [stdout] 86 | | ); [INFO] [stdout] 87 | | return Ok(()); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_val` [INFO] [stdout] --> examples/gradient_demo.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let f_val = DirectEval::eval_two_vars(&multivar_func, x_val, y_val); // Note: eval_two_vars only handles x,y [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_f_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BenchmarkResults` is never constructed [INFO] [stdout] --> examples/real_ad_performance.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct BenchmarkResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledFunction` is never constructed [INFO] [stdout] --> examples/real_ad_performance.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct CompiledFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `call` are never used [INFO] [stdout] --> examples/real_ad_performance.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 46 | impl CompiledFunction { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 47 | /// Load a compiled function from a dynamic library [INFO] [stdout] 48 | unsafe fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn call(&self, x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_results` is never used [INFO] [stdout] --> examples/real_ad_performance.rs:578:4 [INFO] [stdout] | [INFO] [stdout] 578 | fn print_results(results: &BenchmarkResults) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_summary` is never used [INFO] [stdout] --> examples/real_ad_performance.rs:599:4 [INFO] [stdout] | [INFO] [stdout] 599 | fn print_summary(results: &[BenchmarkResults]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_simple_quadratic_rust` is never used [INFO] [stdout] --> examples/real_ad_performance.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn benchmark_simple_quadratic_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_polynomial_rust` is never used [INFO] [stdout] --> examples/real_ad_performance.rs:673:4 [INFO] [stdout] | [INFO] [stdout] 673 | fn benchmark_polynomial_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_multivariate_rust` is never used [INFO] [stdout] --> examples/real_ad_performance.rs:688:4 [INFO] [stdout] | [INFO] [stdout] 688 | fn benchmark_multivariate_rust( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mathcompile::backends::cranelift` [INFO] [stdout] --> examples/transcendental_demo.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use mathcompile::backends::cranelift::JITCompiler; [INFO] [stdout] | ^^^^^^^^^ could not find `cranelift` in `backends` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/backends/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "cranelift")] [INFO] [stdout] | --------------------- the item is gated behind the `cranelift` feature [INFO] [stdout] 13 | pub mod cranelift; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `exp` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/transcendental_demo.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 44 | for x in test_values { [INFO] [stdout] | - you must specify a type for this binding, like `f32` [INFO] [stdout] 45 | let jit_result = jit_func.call_single(x); [INFO] [stdout] 46 | let std_result = x.exp(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `ln` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/transcendental_demo.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 80 | for x in test_values { [INFO] [stdout] | - you must specify a type for this binding, like `f32` [INFO] [stdout] 81 | let jit_result = jit_func.call_single(x); [INFO] [stdout] 82 | let std_result = x.ln(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `exp` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/transcendental_demo.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 184 | for (x_val, y_val) in test_cases { [INFO] [stdout] | ----- you must specify a type for this binding, like `f32` [INFO] [stdout] 185 | let jit_result = jit_func.call_two_vars(x_val, y_val); [INFO] [stdout] 186 | let std_result = x_val.exp() * y_val.sin() + x_val.ln() * y_val.cos(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `ln` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/transcendental_demo.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 184 | for (x_val, y_val) in test_cases { [INFO] [stdout] | ----- you must specify a type for this binding, like `f32` [INFO] [stdout] 185 | let jit_result = jit_func.call_two_vars(x_val, y_val); [INFO] [stdout] 186 | let std_result = x_val.exp() * y_val.sin() + x_val.ln() * y_val.cos(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mathcompile` (example "transcendental_demo") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `libloading` [INFO] [stdout] --> tests/test_rust_compilation.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "libloading")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `libloading` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `libloading` [INFO] [stdout] --> tests/test_rust_compilation.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "libloading")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ad_trait`, `all`, `cranelift`, `default`, `jit`, `optimization`, `serde`, and `symbolic` [INFO] [stdout] = help: consider adding `libloading` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33c1f12b05a33e46ed6fcbd22ddfc662cdb15d2c6880416adf88fb4166ee2942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c1f12b05a33e46ed6fcbd22ddfc662cdb15d2c6880416adf88fb4166ee2942", kill_on_drop: false }` [INFO] [stdout] 33c1f12b05a33e46ed6fcbd22ddfc662cdb15d2c6880416adf88fb4166ee2942