[INFO] cloning repository https://github.com/egolabs-ai/ein-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/egolabs-ai/ein-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegolabs-ai%2Fein-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegolabs-ai%2Fein-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a18a66195dd390ec3ba06b89fa03be3ce9e6add5 [INFO] testing egolabs-ai/ein-lang against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegolabs-ai%2Fein-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/egolabs-ai/ein-lang [INFO] finished tweaking git repo https://github.com/egolabs-ai/ein-lang [INFO] tweaked toml for git repo https://github.com/egolabs-ai/ein-lang written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/egolabs-ai/ein-lang on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/egolabs-ai/ein-lang 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33a26651aac5dc2ced472064de4787e0a1705582bb4d239b04b3db71982990f9 [INFO] running `Command { std: "docker" "start" "-a" "33a26651aac5dc2ced472064de4787e0a1705582bb4d239b04b3db71982990f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33a26651aac5dc2ced472064de4787e0a1705582bb4d239b04b3db71982990f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a26651aac5dc2ced472064de4787e0a1705582bb4d239b04b3db71982990f9", kill_on_drop: false }` [INFO] [stdout] 33a26651aac5dc2ced472064de4787e0a1705582bb4d239b04b3db71982990f9 [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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20135ae16b8e2d746ca6f24ef2700f0b41284b5882a393c1e18d10f6207b387a [INFO] running `Command { std: "docker" "start" "-a" "20135ae16b8e2d746ca6f24ef2700f0b41284b5882a393c1e18d10f6207b387a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling toml_edit v0.23.9 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling logos-codegen v0.14.4 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling logos-derive v0.14.4 [INFO] [stderr] Compiling logos v0.14.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.13.2 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling ug v0.1.0 [INFO] [stderr] Compiling candle-core v0.8.4 [INFO] [stderr] Compiling candle-nn v0.8.4 [INFO] [stderr] Compiling ein v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num_entities` [INFO] [stdout] --> src/runtime/context.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | let num_entities = self.num_entities(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:797:38 [INFO] [stdout] | [INFO] [stdout] 797 | let diff = match (&prev - curr) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - let diff = match (&prev - curr) { [INFO] [stdout] 797 + let diff = match &prev - curr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> src/main.rs:1394:5 [INFO] [stdout] | [INFO] [stdout] 1394 | / unsafe { [INFO] [stdout] 1395 | | RNG_STATE = RNG_STATE.wrapping_add(seed); [INFO] [stdout] 1396 | | RNG_STATE = RNG_STATE.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407); [INFO] [stdout] 1397 | | let rand_val = (RNG_STATE >> 33) as f32 / (u32::MAX as f32); [INFO] [stdout] ... | [INFO] [stdout] 1407 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_loss` is never read [INFO] [stdout] --> src/main.rs:1459:26 [INFO] [stdout] | [INFO] [stdout] 1459 | let mut final_loss = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "20135ae16b8e2d746ca6f24ef2700f0b41284b5882a393c1e18d10f6207b387a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20135ae16b8e2d746ca6f24ef2700f0b41284b5882a393c1e18d10f6207b387a", kill_on_drop: false }` [INFO] [stdout] 20135ae16b8e2d746ca6f24ef2700f0b41284b5882a393c1e18d10f6207b387a [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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e45e7ee8ca59722883a12a2ff7272898be39f15f1936f590302e8aa298045c2a [INFO] running `Command { std: "docker" "start" "-a" "e45e7ee8ca59722883a12a2ff7272898be39f15f1936f590302e8aa298045c2a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling datafrog v2.0.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling logos-codegen v0.14.4 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling logos-derive v0.14.4 [INFO] [stderr] Compiling logos v0.14.4 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ug v0.1.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling candle-core v0.8.4 [INFO] [stderr] Compiling candle-nn v0.8.4 [INFO] [stderr] Compiling ein v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num_entities` [INFO] [stdout] --> src/runtime/context.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | let num_entities = self.num_entities(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:797:38 [INFO] [stdout] | [INFO] [stdout] 797 | let diff = match (&prev - curr) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - let diff = match (&prev - curr) { [INFO] [stdout] 797 + let diff = match &prev - curr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> src/main.rs:1394:5 [INFO] [stdout] | [INFO] [stdout] 1394 | / unsafe { [INFO] [stdout] 1395 | | RNG_STATE = RNG_STATE.wrapping_add(seed); [INFO] [stdout] 1396 | | RNG_STATE = RNG_STATE.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407); [INFO] [stdout] 1397 | | let rand_val = (RNG_STATE >> 33) as f32 / (u32::MAX as f32); [INFO] [stdout] ... | [INFO] [stdout] 1407 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_loss` is never read [INFO] [stdout] --> src/main.rs:1459:26 [INFO] [stdout] | [INFO] [stdout] 1459 | let mut final_loss = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entities` [INFO] [stdout] --> src/runtime/context.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | let num_entities = self.num_entities(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.64s [INFO] running `Command { std: "docker" "inspect" "e45e7ee8ca59722883a12a2ff7272898be39f15f1936f590302e8aa298045c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45e7ee8ca59722883a12a2ff7272898be39f15f1936f590302e8aa298045c2a", kill_on_drop: false }` [INFO] [stdout] e45e7ee8ca59722883a12a2ff7272898be39f15f1936f590302e8aa298045c2a [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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c243255f0a4b04a6bfd56744b224ec8bb7c666fade0f71f2f2de713a2d809b1 [INFO] running `Command { std: "docker" "start" "-a" "8c243255f0a4b04a6bfd56744b224ec8bb7c666fade0f71f2f2de713a2d809b1", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `num_entities` [INFO] [stderr] --> src/runtime/context.rs:1297:13 [INFO] [stderr] | [INFO] [stderr] 1297 | let num_entities = self.num_entities(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entities` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ein` (lib) generated 1 warning (run `cargo fix --lib -p ein` to apply 1 suggestion) [INFO] [stderr] warning: `ein` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/main.rs:797:38 [INFO] [stderr] | [INFO] [stderr] 797 | let diff = match (&prev - curr) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 797 - let diff = match (&prev - curr) { [INFO] [stderr] 797 + let diff = match &prev - curr { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: usage of an `unsafe` block [INFO] [stderr] --> src/main.rs:1394:5 [INFO] [stderr] | [INFO] [stderr] 1394 | / unsafe { [INFO] [stderr] 1395 | | RNG_STATE = RNG_STATE.wrapping_add(seed); [INFO] [stderr] 1396 | | RNG_STATE = RNG_STATE.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407); [INFO] [stderr] 1397 | | let rand_val = (RNG_STATE >> 33) as f32 / (u32::MAX as f32); [INFO] [stderr] ... | [INFO] [stderr] 1407 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W unsafe-code` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `final_loss` is never read [INFO] [stderr] --> src/main.rs:1459:26 [INFO] [stderr] | [INFO] [stderr] 1459 | let mut final_loss = 0.0f32; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ein` (bin "ein" test) generated 3 warnings (run `cargo fix --bin "ein" -p ein --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ein-b69ed35aafbf0d07) [INFO] [stdout] [INFO] [stdout] running 48 tests [INFO] [stdout] test embedding::space::tests::test_embedding_space_creation ... ok [INFO] [stdout] test embedding::trainer::tests::test_sample_negatives ... ok [INFO] [stdout] test embedding::space::tests::test_embeddings_are_normalized ... ok [INFO] [stdout] test runtime::context::tests::test_argmin ... ok [INFO] [stdout] test embedding::trainer::tests::test_trainable_space_creation ... ok [INFO] [stdout] test runtime::context::tests::test_detach ... ok [INFO] [stdout] test embedding::space::tests::test_embed_relation ... ok [INFO] [stdout] test runtime::context::tests::test_eq_cmp ... ok [INFO] [stdout] test runtime::context::tests::test_ge ... ok [INFO] [stdout] test runtime::context::tests::test_argmax_dim0 ... ok [INFO] [stdout] test runtime::context::tests::test_clamp ... ok [INFO] [stdout] test runtime::context::tests::test_diag_rectangular ... ok [INFO] [stdout] test runtime::context::tests::test_gt ... ok [INFO] [stdout] test runtime::context::tests::test_diag ... ok [INFO] [stdout] test runtime::context::tests::test_diag_non_2d_error ... ok [INFO] [stdout] test runtime::context::tests::test_find_closest_node ... ok [INFO] [stdout] test runtime::context::tests::test_le ... ok [INFO] [stdout] test runtime::context::tests::test_log ... ok [INFO] [stdout] test runtime::context::tests::test_mean_dim ... ok [INFO] [stdout] test runtime::context::tests::test_abs ... ok [INFO] [stdout] test runtime::context::tests::test_max_elementwise ... ok [INFO] [stdout] test runtime::context::tests::test_min_elementwise ... ok [INFO] [stdout] test runtime::context::tests::test_mean_full ... ok [INFO] [stdout] test runtime::context::tests::test_sigmoid ... ok [INFO] [stdout] test runtime::context::tests::test_sum_dim ... ok [INFO] [stdout] test runtime::context::tests::test_sqrt ... ok [INFO] [stdout] test runtime::context::tests::test_lt ... ok [INFO] [stdout] test runtime::context::tests::test_sum_3d_tensor ... ok [INFO] [stdout] test runtime::context::tests::test_argmax ... ok [INFO] [stdout] test runtime::context::tests::test_trace_identity_matrix ... ok [INFO] [stdout] test runtime::context::tests::test_trace_non_square_error ... ok [INFO] [stdout] test runtime::context::tests::test_trace_zeros ... ok [INFO] [stdout] test runtime::context::tests::test_mean_dim0 ... ok [INFO] [stdout] test runtime::context::tests::test_tanh ... ok [INFO] [stdout] test runtime::context::tests::test_trace ... ok [INFO] [stdout] test runtime::context::tests::test_sum_full ... ok [INFO] [stdout] test runtime::context::tests::test_where_cond ... ok [INFO] [stdout] test runtime::knowledge::tests::test_add_facts ... ok [INFO] [stdout] test runtime::knowledge::tests::test_symbol_table ... ok [INFO] [stdout] test tensor::einsum::tests::test_parse_notation ... ok [INFO] [stdout] test tensor::einsum::tests::test_parse_notation_trace ... ok [INFO] [stdout] test tensor::sparse::tests::test_insert_and_contains ... ok [INFO] [stdout] test runtime::context::tests::test_where_with_comparison ... ok [INFO] [stdout] test runtime::context::tests::test_exp ... ok [INFO] [stdout] test embedding::space::tests::test_query_basic ... ok [INFO] [stdout] test runtime::context::tests::test_relu ... ok [INFO] [stdout] test embedding::trainer::tests::test_score_pairs ... ok [INFO] [stdout] test runtime::context::tests::test_triangle_counting ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 48 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ein-f8a5f2a12a00be88) [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 ein [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/embedding/space.rs - embedding::space::EmbeddingSpace::new (line 40) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c243255f0a4b04a6bfd56744b224ec8bb7c666fade0f71f2f2de713a2d809b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c243255f0a4b04a6bfd56744b224ec8bb7c666fade0f71f2f2de713a2d809b1", kill_on_drop: false }` [INFO] [stdout] 8c243255f0a4b04a6bfd56744b224ec8bb7c666fade0f71f2f2de713a2d809b1