[INFO] cloning repository https://github.com/baiango/BytePiece
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baiango/BytePiece" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaiango%2FBytePiece", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaiango%2FBytePiece'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 392d5db35296e7b8f0ad2ef92cee6887ee4aa8da
[INFO] testing baiango/BytePiece against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaiango%2FBytePiece" "/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/baiango/BytePiece
[INFO] finished tweaking git repo https://github.com/baiango/BytePiece
[INFO] tweaked toml for git repo https://github.com/baiango/BytePiece written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/baiango/BytePiece on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/baiango/BytePiece 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b5c49d16f945d34520c8e3a481613542ad723534d4d0c5fe0af719227d2514e
[INFO] running `Command { std: "docker" "start" "-a" "7b5c49d16f945d34520c8e3a481613542ad723534d4d0c5fe0af719227d2514e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b5c49d16f945d34520c8e3a481613542ad723534d4d0c5fe0af719227d2514e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b5c49d16f945d34520c8e3a481613542ad723534d4d0c5fe0af719227d2514e", kill_on_drop: false }`
[INFO] [stdout] 7b5c49d16f945d34520c8e3a481613542ad723534d4d0c5fe0af719227d2514e
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4abe2dbafe32ad12d19af7e17910939c535811f3a0847943205ac7bec4e42bc3
[INFO] running `Command { std: "docker" "start" "-a" "4abe2dbafe32ad12d19af7e17910939c535811f3a0847943205ac7bec4e42bc3", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling tokenizer_trainer_bin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |       let partial_arg_msg = (
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 51 | |         // Try not to go over 80 characters!
[INFO] [stdout] 52 | |         format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stdout]    | |________^
[INFO] [stdout] ...
[INFO] [stdout] 68 |           + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n"
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout] 69 | |     );
[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] 50 ~     let partial_arg_msg = format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stdout] 51 |         + "E.g.: tokenizer_trainer_bin v=0b0_1111,br=0x3fff,mt=0 pexels-pixabay-302743.jpg\n"
[INFO] [stdout] ...
[INFO] [stdout] 65 |         + "            None to use single.\n"
[INFO] [stdout] 66 ~         + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/tok_codec.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEMO_STRING` is never used
[INFO] [stdout]  --> src/tok_codec.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const DEMO_STRING: &[u8] = b"The quick brown fox jumps over the lazy dog.";
[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 `TokCodec` is never constructed
[INFO] [stdout]   --> src/tok_codec.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct TokCodec {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_longest_bytes_iter`, `encode`, and `decode` are never used
[INFO] [stdout]   --> src/tok_codec.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TokCodec {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 16 |     fn new(file_path: &str) -> TokCodec {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn from_longest_bytes_iter(&self) -> impl Iterator<Item = (Vec<u8>, i32)> + '_ {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn decode(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/tok_codec.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn demo() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.06s
[INFO] running `Command { std: "docker" "inspect" "4abe2dbafe32ad12d19af7e17910939c535811f3a0847943205ac7bec4e42bc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4abe2dbafe32ad12d19af7e17910939c535811f3a0847943205ac7bec4e42bc3", kill_on_drop: false }`
[INFO] [stdout] 4abe2dbafe32ad12d19af7e17910939c535811f3a0847943205ac7bec4e42bc3
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1e43491c1db3843c0616cea733921ca84e1bb47e78d60082e26864e60c4b492f
[INFO] running `Command { std: "docker" "start" "-a" "1e43491c1db3843c0616cea733921ca84e1bb47e78d60082e26864e60c4b492f", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokenizer_trainer_bin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |       let partial_arg_msg = (
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 51 | |         // Try not to go over 80 characters!
[INFO] [stdout] 52 | |         format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stdout]    | |________^
[INFO] [stdout] ...
[INFO] [stdout] 68 |           + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n"
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout] 69 | |     );
[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] 50 ~     let partial_arg_msg = format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stdout] 51 |         + "E.g.: tokenizer_trainer_bin v=0b0_1111,br=0x3fff,mt=0 pexels-pixabay-302743.jpg\n"
[INFO] [stdout] ...
[INFO] [stdout] 65 |         + "            None to use single.\n"
[INFO] [stdout] 66 ~         + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/tok_codec.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEMO_STRING` is never used
[INFO] [stdout]  --> src/tok_codec.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const DEMO_STRING: &[u8] = b"The quick brown fox jumps over the lazy dog.";
[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 `TokCodec` is never constructed
[INFO] [stdout]   --> src/tok_codec.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct TokCodec {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_longest_bytes_iter`, `encode`, and `decode` are never used
[INFO] [stdout]   --> src/tok_codec.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TokCodec {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 16 |     fn new(file_path: &str) -> TokCodec {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn from_longest_bytes_iter(&self) -> impl Iterator<Item = (Vec<u8>, i32)> + '_ {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn decode(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo` is never used
[INFO] [stdout]   --> src/tok_codec.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn demo() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "1e43491c1db3843c0616cea733921ca84e1bb47e78d60082e26864e60c4b492f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e43491c1db3843c0616cea733921ca84e1bb47e78d60082e26864e60c4b492f", kill_on_drop: false }`
[INFO] [stdout] 1e43491c1db3843c0616cea733921ca84e1bb47e78d60082e26864e60c4b492f
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b271920e0b6764afd9bc6eaad62d52d115c69dd07f974885da826371e25d8bc2
[INFO] running `Command { std: "docker" "start" "-a" "b271920e0b6764afd9bc6eaad62d52d115c69dd07f974885da826371e25d8bc2", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stdout] 
[INFO] [stderr]   --> src/main.rs:50:24
[INFO] [stdout] running 6 tests
[INFO] [stderr]    |
[INFO] [stderr] 50 |       let partial_arg_msg = (
[INFO] [stderr]    |  ___________________________^
[INFO] [stderr] 51 | |         // Try not to go over 80 characters!
[INFO] [stderr] 52 | |         format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stderr]    | |________^
[INFO] [stderr] ...
[INFO] [stderr] 68 |           + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n"
[INFO] [stderr]    |  _______________________________________________________________________________^
[INFO] [stderr] 69 | |     );
[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] 50 ~     let partial_arg_msg = format!("Usage: {} [parameter_1,parameter_2..] file\n", args[0])
[INFO] [stderr] 51 |         + "E.g.: tokenizer_trainer_bin v=0b0_1111,br=0x3fff,mt=0 pexels-pixabay-302743.jpg\n"
[INFO] [stderr] ...
[INFO] [stderr] 65 |         + "            None to use single.\n"
[INFO] [stderr] 66 ~         + "  tcb=      Training chunk bytes. Around 0(n ** 2 * 256) memory.\n" ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bytes`
[INFO] [stderr]   --> src/tok_codec.rs:48:19
[INFO] [stderr]    |
[INFO] [stderr] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stderr]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DEMO_STRING` is never used
[INFO] [stderr]  --> src/tok_codec.rs:7:7
[INFO] [stderr]   |
[INFO] [stderr] 7 | const DEMO_STRING: &[u8] = b"The quick brown fox jumps over the lazy dog.";
[INFO] [stderr]   |       ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TokCodec` is never constructed
[INFO] [stderr]   --> src/tok_codec.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct TokCodec {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `from_longest_bytes_iter`, `encode`, and `decode` are never used
[INFO] [stderr]   --> src/tok_codec.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl TokCodec {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr] 16 |     fn new(file_path: &str) -> TokCodec {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     fn from_longest_bytes_iter(&self) -> impl Iterator<Item = (Vec<u8>, i32)> + '_ {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     fn encode(&self, bytes: &[u8]) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     fn decode(&self) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `demo` is never used
[INFO] [stderr]   --> src/tok_codec.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub fn demo() {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tokenizer_trainer_bin` (bin "tokenizer_trainer_bin" test) generated 6 warnings (run `cargo fix --bin "tokenizer_trainer_bin" -p tokenizer_trainer_bin --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/tokenizer_trainer_bin/5f46423376656485/deps/tokenizer_trainer_bin-5f46423376656485)
[INFO] [stdout] test tok_trainer::tests::test_all_substring ... ok
[INFO] [stdout] test tok_trainer::tests::test_generate_cutoff_by_pattern ... ok
[INFO] [stdout] test tok_trainer::tests::test_numerical_grade_encodable ... ok
[INFO] [stdout] test tok_trainer::tests::test_train_unigram_bytes ... ok
[INFO] [stdout] test tok_trainer::tests::test_rebuild_2d_byte_vec ... ok
[INFO] [stdout] test tok_trainer::tests::test_train_tokenizer ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tok_trainer::tests::test_train_tokenizer stdout ----
[INFO] [stdout] Debug: Will use 2 thread(s)
[INFO] [stdout] Debug: Chunk length: 2 * 1
[INFO] [stdout] Debug: Will use 2 thread(s)
[INFO] [stdout] Debug: Chunk length: 8 * 1
[INFO] [stdout] Debug: Will use 8 thread(s)
[INFO] [stdout] Debug: Chunk length: 16 * 136533
[INFO] [stdout] 
[INFO] [stdout] thread 'tok_trainer::tests::test_train_tokenizer' (30) panicked at src/tok_trainer.rs:413:57:
[INFO] [stdout] create failed: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f4d78ac8be2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f4d78ac8be2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f4d78ac8be2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f4d78ac8be2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f4d78add87a - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f4d78add87a - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x5f4d78acda86 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f4d78acda86 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f4d78aa6d3f - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f4d78aa6d3f - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f4d78ac0e59 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f4d78a36e6e - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5f4d78a36e6e - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f4d78ac10c2 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5f4d78ac10c2 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f4d78aa6df8 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5f4d78a9e7c9 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f4d78aa7c4d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f4d78addf8c - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f4d78addd02 - core[8f93d80df273fe75]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5f4d789f0ade - <core[8f93d80df273fe75]::result::Result<std[840933623431fd06]::fs::File, std[840933623431fd06]::io::error::Error>>::expect
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5f4d78a0a120 - tokenizer_trainer_bin[ad302249b089a4aa]::tok_trainer::tests::test_train_tokenizer
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tok_trainer.rs:413:51
[INFO] [stdout]   22:     0x5f4d78a089e7 - tokenizer_trainer_bin[ad302249b089a4aa]::tok_trainer::tests::test_train_tokenizer::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tok_trainer.rs:376:27
[INFO] [stdout]   23:     0x5f4d78a0cbe6 - <tokenizer_trainer_bin[ad302249b089a4aa]::tok_trainer::tests::test_train_tokenizer::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f4d78a2b21b - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f4d78a2b21b - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5f4d78a37a7a - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5f4d78a37a7a - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5f4d78a37a7a - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5f4d78a37a7a - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5f4d78a37a7a - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5f4d78a37a7a - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5f4d78a37a7a - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5f4d78a31f44 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5f4d78a31f44 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5f4d78a3a572 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5f4d78a3a572 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5f4d78a3a572 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5f4d78a3a572 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5f4d78a3a572 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5f4d78a3a572 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5f4d78a3a572 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f4d78ac847f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x5f4d78ac847f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7a7f887d1aa4 - <unknown>
[INFO] [stdout]   45:     0x7a7f8885ea64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tok_trainer::tests::test_train_tokenizer
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.24s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin tokenizer_trainer_bin`
[INFO] running `Command { std: "docker" "inspect" "b271920e0b6764afd9bc6eaad62d52d115c69dd07f974885da826371e25d8bc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b271920e0b6764afd9bc6eaad62d52d115c69dd07f974885da826371e25d8bc2", kill_on_drop: false }`
[INFO] [stdout] b271920e0b6764afd9bc6eaad62d52d115c69dd07f974885da826371e25d8bc2
