[INFO] cloning repository https://github.com/jonkarrer/patent_classifier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonkarrer/patent_classifier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkarrer%2Fpatent_classifier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkarrer%2Fpatent_classifier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cd57b9d5c7b80f9e6a0a94d83d255492a882a3a [INFO] testing jonkarrer/patent_classifier against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkarrer%2Fpatent_classifier" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jonkarrer/patent_classifier [INFO] finished tweaking git repo https://github.com/jonkarrer/patent_classifier [INFO] tweaked toml for git repo https://github.com/jonkarrer/patent_classifier written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonkarrer/patent_classifier on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonkarrer/patent_classifier 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbf3561e24b1cb082cc6e1de4acde17eb0bd3d8a23f236099ad5e67862070198 [INFO] running `Command { std: "docker" "start" "-a" "cbf3561e24b1cb082cc6e1de4acde17eb0bd3d8a23f236099ad5e67862070198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbf3561e24b1cb082cc6e1de4acde17eb0bd3d8a23f236099ad5e67862070198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf3561e24b1cb082cc6e1de4acde17eb0bd3d8a23f236099ad5e67862070198", kill_on_drop: false }` [INFO] [stdout] cbf3561e24b1cb082cc6e1de4acde17eb0bd3d8a23f236099ad5e67862070198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39fd8a0695df052b2a1e275e44d66cfbcf68db091fc92434dab43393e923b0d0 [INFO] running `Command { std: "docker" "start" "-a" "39fd8a0695df052b2a1e275e44d66cfbcf68db091fc92434dab43393e923b0d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling gix-trace v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.18 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling burn-common v0.13.2 [INFO] [stderr] Compiling faster-hex v0.9.0 [INFO] [stderr] Compiling gix-hash v0.13.3 [INFO] [stderr] Compiling text_placeholder v0.5.1 [INFO] [stderr] Compiling gix-features v0.36.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling burn-tensor v0.13.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gix-fs v0.8.1 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling burn-compute v0.13.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling burn-fusion v0.13.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling r2d2_sqlite v0.23.0 [INFO] [stderr] Compiling serde_rusqlite v0.34.0 [INFO] [stderr] Compiling gix-tempfile v11.0.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling sanitize-filename v0.5.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling burn-jit v0.13.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling burn-dataset v0.13.2 [INFO] [stderr] Compiling burn-autodiff v0.13.2 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling bincode v2.0.0-rc.3 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling burn-derive v0.13.2 [INFO] [stderr] Compiling nvml-wrapper-sys v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling ureq v2.10.0 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling systemstat v0.2.3 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling nvml-wrapper v0.9.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling monostate v0.1.13 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tokenizers v0.19.1 [INFO] [stderr] Compiling burn-wgpu v0.13.2 [INFO] [stderr] Compiling burn-core v0.13.2 [INFO] [stderr] Compiling burn-train v0.13.2 [INFO] [stderr] Compiling burn v0.13.2 [INFO] [stderr] Compiling patent_classifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `ARTIFACT_DIR` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ARTIFACT_DIR: &str = "/tmp/text-classification-patent"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_EPOCHS` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const NUM_EPOCHS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrainingConfig` is never constructed [INFO] [stdout] --> src/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TrainingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `class_name` is never used [INFO] [stdout] --> src/data.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn class_name(label: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 51s [INFO] running `Command { std: "docker" "inspect" "39fd8a0695df052b2a1e275e44d66cfbcf68db091fc92434dab43393e923b0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39fd8a0695df052b2a1e275e44d66cfbcf68db091fc92434dab43393e923b0d0", kill_on_drop: false }` [INFO] [stdout] 39fd8a0695df052b2a1e275e44d66cfbcf68db091fc92434dab43393e923b0d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aaa51b1751013a1a467f48c13db958ebbfd3c9969535859c321896cac322d2b [INFO] running `Command { std: "docker" "start" "-a" "1aaa51b1751013a1a467f48c13db958ebbfd3c9969535859c321896cac322d2b", kill_on_drop: false }` [INFO] [stderr] Compiling patent_classifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab_size` [INFO] [stdout] --> src/model.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let vocab_size = 100; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_seq_len` [INFO] [stdout] --> src/model.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let max_seq_len = 120; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/model.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let device = config::get_device(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARTIFACT_DIR` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const ARTIFACT_DIR: &str = "/tmp/text-classification-patent"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_EPOCHS` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const NUM_EPOCHS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrainingConfig` is never constructed [INFO] [stdout] --> src/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TrainingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `class_name` is never used [INFO] [stdout] --> src/data.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn class_name(label: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "1aaa51b1751013a1a467f48c13db958ebbfd3c9969535859c321896cac322d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aaa51b1751013a1a467f48c13db958ebbfd3c9969535859c321896cac322d2b", kill_on_drop: false }` [INFO] [stdout] 1aaa51b1751013a1a467f48c13db958ebbfd3c9969535859c321896cac322d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 511293e3698864bf25239f8294599ac27ef8a59ba1c904a5b6e96cba9595087a [INFO] running `Command { std: "docker" "start" "-a" "511293e3698864bf25239f8294599ac27ef8a59ba1c904a5b6e96cba9595087a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/model.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vocab_size` [INFO] [stderr] --> src/model.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let vocab_size = 100; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_seq_len` [INFO] [stderr] --> src/model.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let max_seq_len = 120; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_seq_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device` [INFO] [stderr] --> src/model.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let device = config::get_device(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stderr] [INFO] [stderr] warning: constant `ARTIFACT_DIR` is never used [INFO] [stderr] --> src/main.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | const ARTIFACT_DIR: &str = "/tmp/text-classification-patent"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `NUM_EPOCHS` is never used [INFO] [stderr] --> src/main.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | const NUM_EPOCHS: usize = 3; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TrainingConfig` is never constructed [INFO] [stderr] --> src/config.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct TrainingConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `class_name` is never used [INFO] [stderr] --> src/data.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn class_name(label: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `patent_classifier` (bin "patent_classifier" test) generated 8 warnings (run `cargo fix --bin "patent_classifier" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/patent_classifier-3c0cd6af1ffc1950) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test data::tests::test_collect ... ok [INFO] [stdout] test data::tests::test_format_label ... FAILED [INFO] [stdout] test data::tests::test_tokenize ... FAILED [INFO] [stdout] test model::tests::test_model ... ok [INFO] [stderr] error: XDG_RUNTIME_DIR is invalid or not set in the environment. [INFO] [stdout] test batcher::tests::test_create_batch ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- data::tests::test_format_label stdout ---- [INFO] [stdout] [src/data.rs:130:9] &score = 7 [INFO] [stdout] [INFO] [stdout] thread 'data::tests::test_format_label' (20) panicked at src/data.rs:131:9: [INFO] [stdout] assertion failed: score == 5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e70270b9c72 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e70270b9c72 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e70270b9c72 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e70270b9c72 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e70270dfd3f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e70270dfd3f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e70270a65d3 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e70270a65d3 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e70270ba2c2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e70270a49ec - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e70270a485e - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e7025ea53be - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5e7025ea53be - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e70270a57c3 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5e70270a57c3 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e70270ba096 - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5e70270ba029 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e70270a541d - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e70270ec100 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e70270ec4fc - core::panicking::panic::h413ab907c3df10e0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5e7025e5476f - patent_classifier::data::tests::test_format_label::hebb0035db4a70f2a [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:131:9 [INFO] [stdout] 21: 0x5e7025e54687 - patent_classifier::data::tests::test_format_label::{{closure}}::hb4766ff2760345c6 [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:128:27 [INFO] [stdout] 22: 0x5e7025def5e6 - core::ops::function::FnOnce::call_once::hf3ad9f2e371d252b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x5e7025ea643b - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5e7025ea643b - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5e7025ea40a5 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5e7025ea40a5 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5e7025ea40a5 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5e7025ea40a5 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5e7025ea40a5 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5e7025ea40a5 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5e7025ea40a5 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5e7025ecafb4 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5e7025ecafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5e7025eb1bca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5e7025eb1bca - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5e7025eb1bca - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5e7025eb1bca - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5e7025eb1bca - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5e7025eb1bca - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5e7025eb1bca - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x5e702708e7cf - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x5e702708e7cf - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 43: 0x7ad3eedd5aa4 - [INFO] [stdout] 44: 0x7ad3eee62a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- data::tests::test_tokenize stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'data::tests::test_tokenize' (21) panicked at src/data.rs:119:14: [INFO] [stdout] Tokenizer not initialized: RequestError(Transport(Transport { kind: Dns, message: Some("resolve dns name 'huggingface.co:443'"), url: Some(Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("huggingface.co")), port: None, path: "/bert-base-cased/resolve/main/tokenizer.json", query: None, fragment: None }), source: Some(Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" }) })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e70270b9c72 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e70270b9c72 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e70270b9c72 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e70270b9c72 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e70270dfd3f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e70270dfd3f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e70270a65d3 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e70270a65d3 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e70270ba2c2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e70270a49ec - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e70270a485e - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e7025ea53be - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5e7025ea53be - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e70270a57c3 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5e70270a57c3 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e70270ba0ca - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e70270ba029 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e70270a541d - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e70270ec100 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e70270ee866 - core::result::unwrap_failed::ha809bf80017a514a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x5e7025e652be - core::result::Result::expect::h7fe02950eebd5e42 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x5e7025e547d6 - patent_classifier::data::tests::test_tokenize::hcf661f04501537da [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:119:14 [INFO] [stdout] 22: 0x5e7025e549e7 - patent_classifier::data::tests::test_tokenize::{{closure}}::h48a6b268d5d601b0 [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:117:23 [INFO] [stdout] 23: 0x5e7025dec736 - core::ops::function::FnOnce::call_once::hca50649c9ec7f03c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5e7025ea643b - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5e7025ea643b - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5e7025ea40a5 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5e7025ea40a5 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5e7025ea40a5 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e7025ea40a5 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e7025ea40a5 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e7025ea40a5 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5e7025ea40a5 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5e7025ecafb4 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5e7025ecafb4 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5e7025eb1bca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5e7025eb1bca - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5e7025eb1bca - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5e7025eb1bca - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5e7025eb1bca - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5e7025eb1bca - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5e7025eb1bca - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5e702708e7cf - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5e702708e7cf - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7ad3eedd5aa4 - [INFO] [stdout] 45: 0x7ad3eee62a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] data::tests::test_format_label [INFO] [stdout] data::tests::test_tokenize [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.71s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin patent_classifier` [INFO] running `Command { std: "docker" "inspect" "511293e3698864bf25239f8294599ac27ef8a59ba1c904a5b6e96cba9595087a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511293e3698864bf25239f8294599ac27ef8a59ba1c904a5b6e96cba9595087a", kill_on_drop: false }` [INFO] [stdout] 511293e3698864bf25239f8294599ac27ef8a59ba1c904a5b6e96cba9595087a