[INFO] cloning repository https://github.com/dsekercioglu/doodlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsekercioglu/doodlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 716209877ec2e4f70bfe45443068b71dc85f4d89 [INFO] testing dsekercioglu/doodlang against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dsekercioglu/doodlang [INFO] finished tweaking git repo https://github.com/dsekercioglu/doodlang [INFO] tweaked toml for git repo https://github.com/dsekercioglu/doodlang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dsekercioglu/doodlang on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dsekercioglu/doodlang 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74e9f6e3fd98a0eea90764809e07014c7a5a07b3f876fb73b88b09c01196717 [INFO] running `Command { std: "docker" "start" "-a" "e74e9f6e3fd98a0eea90764809e07014c7a5a07b3f876fb73b88b09c01196717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74e9f6e3fd98a0eea90764809e07014c7a5a07b3f876fb73b88b09c01196717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74e9f6e3fd98a0eea90764809e07014c7a5a07b3f876fb73b88b09c01196717", kill_on_drop: false }` [INFO] [stdout] e74e9f6e3fd98a0eea90764809e07014c7a5a07b3f876fb73b88b09c01196717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3afc574f33f008f9e66da7ad74fa7ed35f31cbae3ef7d8f60168b14e229a8ee1 [INFO] running `Command { std: "docker" "start" "-a" "3afc574f33f008f9e66da7ad74fa7ed35f31cbae3ef7d8f60168b14e229a8ee1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling doodlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::eq_solver::matrix::Matrix` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::eq_solver::matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionManager`, `Parser`, and `generate_tree` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use doodlang::parser::{Parser, FunctionManager, Node, generate_tree}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PolyApprox` and `SecantSolver` [INFO] [stdout] --> src/main.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::eq_solver::approx::{PolyApprox, SecantSolver}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::print_vec` [INFO] [stdout] --> src/eq_solver/approx.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::print_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/eq_solver/function.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Index`, `Mul`, and `Neg` [INFO] [stdout] --> src/eq_solver/matrix.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Mul, Index, Neg}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::print_vec` [INFO] [stdout] --> src/eq_solver/matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::print_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/doodlang/interpreter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/doodlang/interpreter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_tree` [INFO] [stdout] --> src/doodlang/interpreter.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::doodlang::parser::{FunctionManager, generate_tree, smart_generate_tree}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/doodlang/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::print_vec` [INFO] [stdout] --> src/doodlang/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::print_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/doodlang/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/doodlang/parser.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | let mut min_func_scope = function_in_scope(node_formula, "ln", min_local_scope); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/doodlang/parser.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut min_func_scope = function_in_scope(node_formula, "sin", min_local_scope); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/doodlang/parser.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let mut min_func_scope = function_in_scope(node_formula, "cos", min_local_scope); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stuff` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn stuff(range: usize) -> [usize; 2] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `degree` is never read [INFO] [stdout] --> src/eq_solver/approx.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PolyApprox { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | degree: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `approx1d` are never used [INFO] [stdout] --> src/eq_solver/approx.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PolyApprox { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(degree: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn approx1d(&mut self, function_manager: &mut Box, function: &mut Box, parameter: &str, range: (f6... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range`, `regress_range`, `attempt_num`, `iter`, `margin`, and `poly` are never read [INFO] [stdout] --> src/eq_solver/approx.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct QuadFind { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 95 | range: [f64; 2], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | regress_range: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 97 | attempt_num: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | iter: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | margin: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 100 | poly: PolyApprox, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve_for_param` is never used [INFO] [stdout] --> src/eq_solver/approx.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl QuadFind { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn solve_for_param(&mut self, func: &mut Box, func_manager: &mut Box, param: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quad_solver` is never read [INFO] [stdout] --> src/doodlang/interpreter.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DoodlangInterpreter<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | quad_solver: QuadFind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/doodlang/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Parser; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tree` is never used [INFO] [stdout] --> src/doodlang/parser.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate_tree(formula: &str) -> Node<[usize; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/doodlang/interpreter.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(code: &str) -> DoodlangInterpreter { [INFO] [stdout] | ^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(code: &str) -> DoodlangInterpreter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcC0mVUg/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-fc7cb2af063138d7.rlib,librand_chacha-082bc0e5ee5a5a43.rlib,libppv_lite86-fe4748cb9a4a903e.rlib,librand_core-b5a4a9895ef9243e.rlib,libgetrandom-6df857985100c063.rlib,liblibc-384de293c7175bb4.rlib,libcfg_if-2d17986ae484e939.rlib,libtext_io-4df162deb805de5f.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcC0mVUg/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/doodlang-76acbec973822b07" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-6df857985100c063.rlib(getrandom-6df857985100c063.getrandom.30861025968f87be-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h2102dfbf771af024E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doodlang` (bin "doodlang") due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3afc574f33f008f9e66da7ad74fa7ed35f31cbae3ef7d8f60168b14e229a8ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afc574f33f008f9e66da7ad74fa7ed35f31cbae3ef7d8f60168b14e229a8ee1", kill_on_drop: false }` [INFO] [stdout] 3afc574f33f008f9e66da7ad74fa7ed35f31cbae3ef7d8f60168b14e229a8ee1