[INFO] fetching crate rust_gpt-2_impl 0.1.0...
[INFO] testing rust_gpt-2_impl-0.1.0 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate rust_gpt-2_impl 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate rust_gpt-2_impl 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rust_gpt-2_impl 0.1.0
[INFO] tweaked toml for crates.io crate rust_gpt-2_impl 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_gpt-2_impl 0.1.0 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate rust_gpt-2_impl 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190
[INFO] running `"docker" "start" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "inspect" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling rust_gpt-2_impl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3.62s
[INFO] running `"docker" "inspect" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling either v1.18.0
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling rust_gpt-2_impl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 6.55s
[INFO] running `"docker" "inspect" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rust_gpt-2_impl/a1c0ee5daeb9ed2b/out/rust_gpt_2_impl-a1c0ee5daeb9ed2b)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test llmc::rand::tests::random_permutation_is_deterministic_and_bijective ... ok
[INFO] [stdout] test llmc::rand::tests::mt19937_matches_torch_reference ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/gen_synth.rs (/opt/rustwide/target/release/build/rust_gpt-2_impl/98c185e3eb14d24a/out/gen_synth-98c185e3eb14d24a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/test_gpt2.rs (/opt/rustwide/target/release/build/rust_gpt-2_impl/39f03771360dbd38/out/test_gpt2-39f03771360dbd38)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/train_gpt2.rs (/opt/rustwide/target/release/build/rust_gpt-2_impl/0fa7043bb0904003/out/train_gpt2-0fa7043bb0904003)
[INFO] [stderr]      Running tests/unit.rs (/opt/rustwide/target/release/build/rust_gpt-2_impl/00da25aa4b5d4ed5/out/unit-00da25aa4b5d4ed5)
[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] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test dataloader_serves_shifted_batches_and_wraps ... ok
[INFO] [stdout] test tokenizer_roundtrip ... ok
[INFO] [stdout] test matmul_forward_tiled_matches_naive ... ok
[INFO] [stdout] test finite_difference_gradient_check ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_gpt_2_impl
[INFO] [stdout] 
[INFO] [stdout] running 103 tests
[INFO] [stdout] test src/lib.rs - (line 1004) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1010) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1016) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1046) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1058) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1068) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1093) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1108) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1118) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1128) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1134) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1140) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1148) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1160) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1172) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1178) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1184) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1190) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1198) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1204) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1216) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1264) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1272) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1293) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1302) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1320) ... ignored
[INFO] [stdout] test src/lib.rs - (line 138) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1461) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1469) ... ignored
[INFO] [stdout] test src/lib.rs - (line 150) ... ignored
[INFO] [stdout] test src/lib.rs - (line 203) ... ignored
[INFO] [stdout] test src/lib.rs - (line 219) ... ignored
[INFO] [stdout] test src/lib.rs - (line 235) ... ignored
[INFO] [stdout] test src/lib.rs - (line 251) ... ignored
[INFO] [stdout] test src/lib.rs - (line 258) ... ignored
[INFO] [stdout] test src/lib.rs - (line 280) ... ignored
[INFO] [stdout] test src/lib.rs - (line 296) ... ignored
[INFO] [stdout] test src/lib.rs - (line 304) ... ignored
[INFO] [stdout] test src/lib.rs - (line 310) ... ignored
[INFO] [stdout] test src/lib.rs - (line 318) ... ignored
[INFO] [stdout] test src/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 360) ... ignored
[INFO] [stdout] test src/lib.rs - (line 381) ... ignored
[INFO] [stdout] test src/lib.rs - (line 395) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1522) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1402) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 430) ... ignored
[INFO] [stdout] test src/lib.rs - (line 445) ... ignored
[INFO] [stdout] test src/lib.rs - (line 195) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1396) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 478) ... ignored
[INFO] [stdout] test src/lib.rs - (line 484) ... ignored
[INFO] [stdout] test src/lib.rs - (line 512) ... ignored
[INFO] [stdout] test src/lib.rs - (line 520) ... ignored
[INFO] [stdout] test src/lib.rs - (line 527) ... ignored
[INFO] [stdout] test src/lib.rs - (line 533) ... ignored
[INFO] [stdout] test src/lib.rs - (line 539) ... ignored
[INFO] [stdout] test src/lib.rs - (line 549) ... ignored
[INFO] [stdout] test src/lib.rs - (line 565) ... ignored
[INFO] [stdout] test src/lib.rs - (line 571) ... ignored
[INFO] [stdout] test src/lib.rs - (line 585) ... ignored
[INFO] [stdout] test src/lib.rs - (line 615) ... ignored
[INFO] [stdout] test src/lib.rs - (line 632) ... ignored
[INFO] [stdout] test src/lib.rs - (line 650) ... ignored
[INFO] [stdout] test src/lib.rs - (line 668) ... ignored
[INFO] [stdout] test src/lib.rs - (line 686) ... ignored
[INFO] [stdout] test src/lib.rs - (line 710) ... ignored
[INFO] [stdout] test src/lib.rs - (line 724) ... ignored
[INFO] [stdout] test src/lib.rs - (line 734) ... ignored
[INFO] [stdout] test src/lib.rs - (line 751) ... ignored
[INFO] [stdout] test src/lib.rs - (line 763) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1384) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 793) ... ignored
[INFO] [stdout] test src/lib.rs - (line 811) ... ignored
[INFO] [stdout] test src/lib.rs - (line 836) ... ignored
[INFO] [stdout] test src/lib.rs - (line 842) ... ignored
[INFO] [stdout] test src/lib.rs - (line 468) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 854) ... ignored
[INFO] [stdout] test src/lib.rs - (line 872) ... ignored
[INFO] [stdout] test src/lib.rs - (line 890) ... ignored
[INFO] [stdout] test src/lib.rs - (line 896) ... ignored
[INFO] [stdout] test src/lib.rs - (line 902) ... ignored
[INFO] [stdout] test src/lib.rs - (line 918) ... ignored
[INFO] [stdout] test src/lib.rs - (line 934) ... ignored
[INFO] [stdout] test src/lib.rs - (line 953) ... ignored
[INFO] [stdout] test src/lib.rs - (line 970) ... ignored
[INFO] [stdout] test src/lib.rs - (line 981) ... ignored
[INFO] [stdout] test src/lib.rs - (line 992) ... ignored
[INFO] [stdout] test src/lib.rs - (line 1410) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1512) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1366) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 413) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 46) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1437) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... ok
[INFO] [stdout] test src/lib.rs - (line 1428) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 122) ... ok
[INFO] [stdout] test src/lib.rs - (line 40) ... ok
[INFO] [stdout] test src/lib.rs - (line 85) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 179) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1419) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 128) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `,`
[INFO] [stdout]    --> src/lib.rs:129:2
[INFO] [stdout]     |
[INFO] [stdout] 129 | B, T, C, V
[INFO] [stdout]     |  ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1522) stdout ----
[INFO] [stdout] error: missing `enum` for enum definition
[INFO] [stdout]     --> src/lib.rs:1523:1
[INFO] [stdout]      |
[INFO] [stdout] 1523 | TensorView { start, len }
[INFO] [stdout]      | ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: add `enum` here to parse `TensorView` as an enum
[INFO] [stdout]      |
[INFO] [stdout] 1523 | enum TensorView { start, len }
[INFO] [stdout]      | ++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1402) stdout ----
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]     --> src/lib.rs:1403:30
[INFO] [stdout]      |
[INFO] [stdout] 1403 | for i in 0..*num_parameters {
[INFO] [stdout]      |                             -^
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             unclosed delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 195) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `:`
[INFO] [stdout]    --> src/lib.rs:196:4
[INFO] [stdout]     |
[INFO] [stdout] 196 | out: &mut [f32]
[INFO] [stdout]     |    ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1396) stdout ----
[INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}`
[INFO] [stdout]     --> src/lib.rs:1398:1
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(...)
[INFO] [stdout]      |        -----------     - expected one of `->`, `where`, or `{`
[INFO] [stdout]      |        |
[INFO] [stdout]      |        while parsing this `fn`
[INFO] [stdout] 1398 | } _doctest_main_src_lib_rs_1396_0() }
[INFO] [stdout]      | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]     --> src/lib.rs:1397:1
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(...)
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: missing pattern for `...` argument
[INFO] [stdout]     --> src/lib.rs:1397:20
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(...)
[INFO] [stdout]      |                    ^^^ help: add a pattern for this argument: `_: ...`
[INFO] [stdout] 
[INFO] [stdout] error: `...` is not supported for non-extern functions
[INFO] [stdout]     --> src/lib.rs:1397:20
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(...)
[INFO] [stdout]      |                    ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list
[INFO] [stdout] 
[INFO] [stdout] error: missing pattern for `...` argument
[INFO] [stdout]     --> src/lib.rs:1397:20
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(...)
[INFO] [stdout]      |                    ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]      = note: for more information, see issue #145544 <https://github.com/rust-lang/rust/issues/145544>
[INFO] [stdout]      = note: `#[deny(varargs_without_pattern)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] help: name the argument, or use `_` to continue ignoring it
[INFO] [stdout]      |
[INFO] [stdout] 1397 | pub fn gpt2_update(_: ...)
[INFO] [stdout]      |                    ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1384) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `dlosses` in this scope
[INFO] [stdout]     --> src/lib.rs:1385:1
[INFO] [stdout]      |
[INFO] [stdout] 1385 | dlosses[i] = dloss_mean;
[INFO] [stdout]      | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]     --> src/lib.rs:1385:9
[INFO] [stdout]      |
[INFO] [stdout] 1385 | dlosses[i] = dloss_mean;
[INFO] [stdout]      |         ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dloss_mean` in this scope
[INFO] [stdout]     --> src/lib.rs:1385:14
[INFO] [stdout]      |
[INFO] [stdout] 1385 | dlosses[i] = dloss_mean;
[INFO] [stdout]      |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 468) stdout ----
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/lib.rs:471:27
[INFO] [stdout]     |
[INFO] [stdout] 471 | .for_each(|(bt, out_bt)| {
[INFO] [stdout]     |          -               -^
[INFO] [stdout]     |          |               |
[INFO] [stdout]     |          |               unclosed delimiter
[INFO] [stdout]     |          unclosed delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 79) stdout ----
[INFO] [stdout] error: missing `fn` or `struct` for function or struct definition
[INFO] [stdout]   --> src/lib.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | Vec<f32>
[INFO] [stdout]    | ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1410) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `beta1` in this scope
[INFO] [stdout]     --> src/lib.rs:1411:9
[INFO] [stdout]      |
[INFO] [stdout] 1411 | let m = beta1 * m_memory[i]
[INFO] [stdout]      |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_memory` in this scope
[INFO] [stdout]     --> src/lib.rs:1411:17
[INFO] [stdout]      |
[INFO] [stdout] 1411 | let m = beta1 * m_memory[i]
[INFO] [stdout]      |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]     --> src/lib.rs:1411:26
[INFO] [stdout]      |
[INFO] [stdout] 1411 | let m = beta1 * m_memory[i]
[INFO] [stdout]      |                          ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `beta1` in this scope
[INFO] [stdout]     --> src/lib.rs:1412:13
[INFO] [stdout]      |
[INFO] [stdout] 1412 | + (1.0f32 - beta1) * grad;
[INFO] [stdout]      |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `grad` in this scope
[INFO] [stdout]     --> src/lib.rs:1412:22
[INFO] [stdout]      |
[INFO] [stdout] 1412 | + (1.0f32 - beta1) * grad;
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1512) stdout ----
[INFO] [stdout] error: missing `fn` or `struct` for function or struct definition
[INFO] [stdout]     --> src/lib.rs:1513:1
[INFO] [stdout]      |
[INFO] [stdout] 1513 | Vec<f32>
[INFO] [stdout]      | ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1366) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `B` in this scope
[INFO] [stdout]     --> src/lib.rs:1367:28
[INFO] [stdout]      |
[INFO] [stdout] 1367 | let dloss_mean = 1.0f32 / (B * T) as f32;
[INFO] [stdout]      |                            ^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]      |
[INFO] [stdout] 1366 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_1366_0<const B: /* Type */>() {
[INFO] [stdout]      |                                                                        +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `T` in this scope
[INFO] [stdout]     --> src/lib.rs:1367:32
[INFO] [stdout]      |
[INFO] [stdout] 1367 | let dloss_mean = 1.0f32 / (B * T) as f32;
[INFO] [stdout]      |                                ^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]      |
[INFO] [stdout] 1366 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_1366_0<const T: /* Type */>() {
[INFO] [stdout]      |                                                                        +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 413) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]    --> src/lib.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 | for i in 0..C {
[INFO] [stdout]     |             ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 415 - for i in 0..C {
[INFO] [stdout] 415 + for i in 0..v {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]     |
[INFO] [stdout] 413 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_413_0<const C: /* Type */>() {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]    --> src/lib.rs:416:14
[INFO] [stdout]     |
[INFO] [stdout] 416 | let xshift = x[i] - m;
[INFO] [stdout]     |              ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 416 - let xshift = x[i] - m;
[INFO] [stdout] 416 + let xshift = i[i] - m;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]    --> src/lib.rs:416:21
[INFO] [stdout]     |
[INFO] [stdout] 416 | let xshift = x[i] - m;
[INFO] [stdout]     |                     ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 416 - let xshift = x[i] - m;
[INFO] [stdout] 416 + let xshift = x[i] - i;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]    --> src/lib.rs:419:6
[INFO] [stdout]     |
[INFO] [stdout] 419 | v /= C as f32;
[INFO] [stdout]     |      ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 419 - v /= C as f32;
[INFO] [stdout] 419 + v /= v as f32;
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a const parameter
[INFO] [stdout]     |
[INFO] [stdout] 413 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_413_0<const C: /* Type */>() {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 46) stdout ----
[INFO] [stdout] error: expected item, found `.`
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | .par_chunks_exact_mut(...)
[INFO] [stdout]    | ^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1437) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `params_memory` in this scope
[INFO] [stdout]     --> src/lib.rs:1438:1
[INFO] [stdout]      |
[INFO] [stdout] 1438 | params_memory[i] -= learning_rate
[INFO] [stdout]      | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]     --> src/lib.rs:1438:15
[INFO] [stdout]      |
[INFO] [stdout] 1438 | params_memory[i] -= learning_rate
[INFO] [stdout]      |               ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `learning_rate` in this scope
[INFO] [stdout]     --> src/lib.rs:1438:21
[INFO] [stdout]      |
[INFO] [stdout] 1438 | params_memory[i] -= learning_rate
[INFO] [stdout]      |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `m_hat` in this scope
[INFO] [stdout]     --> src/lib.rs:1439:4
[INFO] [stdout]      |
[INFO] [stdout] 1439 | * (m_hat / (v_hat.sqrt() + eps)
[INFO] [stdout]      |    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `v_hat` in this scope
[INFO] [stdout]     --> src/lib.rs:1439:13
[INFO] [stdout]      |
[INFO] [stdout] 1439 | * (m_hat / (v_hat.sqrt() + eps)
[INFO] [stdout]      |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `eps` in this scope
[INFO] [stdout]     --> src/lib.rs:1439:28
[INFO] [stdout]      |
[INFO] [stdout] 1439 | * (m_hat / (v_hat.sqrt() + eps)
[INFO] [stdout]      |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `weight_decay` in this scope
[INFO] [stdout]     --> src/lib.rs:1440:3
[INFO] [stdout]      |
[INFO] [stdout] 1440 | + weight_decay * param);
[INFO] [stdout]      |   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `param` in this scope
[INFO] [stdout]     --> src/lib.rs:1440:18
[INFO] [stdout]      |
[INFO] [stdout] 1440 | + weight_decay * param);
[INFO] [stdout]      |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1428) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]     --> src/lib.rs:1429:13
[INFO] [stdout]      |
[INFO] [stdout] 1429 | let m_hat = m / (1.0f32 - beta1.powf(t as f32));
[INFO] [stdout]      |             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `beta1` in this scope
[INFO] [stdout]     --> src/lib.rs:1429:27
[INFO] [stdout]      |
[INFO] [stdout] 1429 | let m_hat = m / (1.0f32 - beta1.powf(t as f32));
[INFO] [stdout]      |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `t` in this scope
[INFO] [stdout]     --> src/lib.rs:1429:38
[INFO] [stdout]      |
[INFO] [stdout] 1429 | let m_hat = m / (1.0f32 - beta1.powf(t as f32));
[INFO] [stdout]      |                                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `v` in this scope
[INFO] [stdout]     --> src/lib.rs:1430:13
[INFO] [stdout]      |
[INFO] [stdout] 1430 | let v_hat = v / (1.0f32 - beta2.powf(t as f32));
[INFO] [stdout]      |             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `beta2` in this scope
[INFO] [stdout]     --> src/lib.rs:1430:27
[INFO] [stdout]      |
[INFO] [stdout] 1430 | let v_hat = v / (1.0f32 - beta2.powf(t as f32));
[INFO] [stdout]      |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `t` in this scope
[INFO] [stdout]     --> src/lib.rs:1430:38
[INFO] [stdout]      |
[INFO] [stdout] 1430 | let v_hat = v / (1.0f32 - beta2.powf(t as f32));
[INFO] [stdout]      |                                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 85) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | start: ...,
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 87 - start: ...,
[INFO] [stdout] 87 + start: ..,
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 87 - start: ...,
[INFO] [stdout] 87 + start: ..=,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | start: ...,
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 87 - start: ...,
[INFO] [stdout] 87 + start: ..,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 88 | len: ...,
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 88 - len: ...,
[INFO] [stdout] 88 + len: ..,
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 88 - len: ...,
[INFO] [stdout] 88 + len: ..=,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 88 | len: ...,
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 88 - len: ...,
[INFO] [stdout] 88 + len: ..,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TensorView` in this scope
[INFO] [stdout]   --> src/lib.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | TensorView {
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 179) stdout ----
[INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:189:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn encoder_forward(
[INFO] [stdout]     |        --------------- while parsing this `fn`
[INFO] [stdout] ...
[INFO] [stdout] 188 | )
[INFO] [stdout]     |  - expected one of `->`, `where`, or `{`
[INFO] [stdout] 189 | } _doctest_main_src_lib_rs_179_0() }
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | / pub fn encoder_forward(
[INFO] [stdout] 181 | | out: &mut [f32],
[INFO] [stdout] 182 | | inp: &[i32],
[INFO] [stdout] 183 | | wte: &[f32],
[INFO] [stdout] ...   |
[INFO] [stdout] 187 | | C: usize,
[INFO] [stdout] 188 | | )
[INFO] [stdout]     | | ^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout]     | |_|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1419) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `beta2` in this scope
[INFO] [stdout]     --> src/lib.rs:1420:9
[INFO] [stdout]      |
[INFO] [stdout] 1420 | let v = beta2 * v_memory[i]
[INFO] [stdout]      |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `v_memory` in this scope
[INFO] [stdout]     --> src/lib.rs:1420:17
[INFO] [stdout]      |
[INFO] [stdout] 1420 | let v = beta2 * v_memory[i]
[INFO] [stdout]      |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]     --> src/lib.rs:1420:26
[INFO] [stdout]      |
[INFO] [stdout] 1420 | let v = beta2 * v_memory[i]
[INFO] [stdout]      |                          ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `beta2` in this scope
[INFO] [stdout]     --> src/lib.rs:1421:13
[INFO] [stdout]      |
[INFO] [stdout] 1421 | + (1.0f32 - beta2) * grad * grad;
[INFO] [stdout]      |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `grad` in this scope
[INFO] [stdout]     --> src/lib.rs:1421:22
[INFO] [stdout]      |
[INFO] [stdout] 1421 | + (1.0f32 - beta2) * grad * grad;
[INFO] [stdout]      |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `grad` in this scope
[INFO] [stdout]     --> src/lib.rs:1421:29
[INFO] [stdout]      |
[INFO] [stdout] 1421 | + (1.0f32 - beta2) * grad * grad;
[INFO] [stdout]      |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 34) stdout ----
[INFO] [stdout] error: cannot declare a file module inside a block unless it has a path attribute
[INFO] [stdout]   --> src/lib.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub mod llmc;
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: file modules are usually placed outside of blocks, at the top level of the file
[INFO] [stdout] help: maybe `use` the module `llmc` instead of redeclaring it
[INFO] [stdout]   --> src/lib.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub mod llmc;
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 128)
[INFO] [stdout]     src/lib.rs - (line 1366)
[INFO] [stdout]     src/lib.rs - (line 1384)
[INFO] [stdout]     src/lib.rs - (line 1396)
[INFO] [stdout]     src/lib.rs - (line 1402)
[INFO] [stdout]     src/lib.rs - (line 1410)
[INFO] [stdout]     src/lib.rs - (line 1419)
[INFO] [stdout]     src/lib.rs - (line 1428)
[INFO] [stdout]     src/lib.rs - (line 1437)
[INFO] [stdout]     src/lib.rs - (line 1512)
[INFO] [stdout]     src/lib.rs - (line 1522)
[INFO] [stdout]     src/lib.rs - (line 179)
[INFO] [stdout]     src/lib.rs - (line 195)
[INFO] [stdout]     src/lib.rs - (line 34)
[INFO] [stdout]     src/lib.rs - (line 413)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 468)
[INFO] [stdout]     src/lib.rs - (line 79)
[INFO] [stdout]     src/lib.rs - (line 85)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 19 failed; 81 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.50s; merged doctests compilation took 0.19s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] running `"docker" "rm" "-f" "c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190"`
[INFO] [stdout] c036aa57283d4f835fafe63770fa12e11217d67e06370d845b8ae9e7363dd190
