[INFO] cloning repository https://github.com/tyrchen/depbank [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyrchen/depbank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Fdepbank", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Fdepbank'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91239e7cfb92f839155e5b84c8e676ebbf5b17af [INFO] testing tyrchen/depbank against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Fdepbank" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tyrchen/depbank [INFO] finished tweaking git repo https://github.com/tyrchen/depbank [INFO] tweaked toml for git repo https://github.com/tyrchen/depbank written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tyrchen/depbank on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tyrchen/depbank 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.3.0 [INFO] [stderr] Downloaded onig v6.4.0 [INFO] [stderr] Downloaded webpki-roots v0.26.9 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Downloaded tokenizers v0.21.1 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded tree-sitter-cpp v0.23.4 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.0 [INFO] [stderr] Downloaded monostate-impl v0.1.14 [INFO] [stderr] Downloaded hf-hub v0.4.2 [INFO] [stderr] Downloaded tree-sitter-python v0.23.6 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded tree-sitter-rust v0.23.3 [INFO] [stderr] Downloaded codebank v0.4.5 [INFO] [stderr] Downloaded monostate v0.1.14 [INFO] [stderr] Downloaded socks v0.3.4 [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded tree-sitter v0.23.2 [INFO] [stderr] Downloaded onig_sys v69.8.1 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded tree-sitter-go v0.23.4 [INFO] [stderr] Downloaded tree-sitter-typescript v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dc2f79ac4473e68e7c73c538f3faf6ad0a02e0533e62f9bcee98504bdfaf1db [INFO] running `Command { std: "docker" "start" "-a" "7dc2f79ac4473e68e7c73c538f3faf6ad0a02e0533e62f9bcee98504bdfaf1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dc2f79ac4473e68e7c73c538f3faf6ad0a02e0533e62f9bcee98504bdfaf1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc2f79ac4473e68e7c73c538f3faf6ad0a02e0533e62f9bcee98504bdfaf1db", kill_on_drop: false }` [INFO] [stdout] 7dc2f79ac4473e68e7c73c538f3faf6ad0a02e0533e62f9bcee98504bdfaf1db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2da3789a4f8422b8dcab70c58f5751a325a8bb23adc12004576cead8b11cbff [INFO] running `Command { std: "docker" "start" "-a" "f2da3789a4f8422b8dcab70c58f5751a325a8bb23adc12004576cead8b11cbff", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling socks v0.3.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.9 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter v0.23.2 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling monostate-impl v0.1.14 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling monostate v0.1.14 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling codebank v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling hf-hub v0.4.2 [INFO] [stderr] Compiling tokenizers v0.21.1 [INFO] [stderr] Compiling depbank v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "f2da3789a4f8422b8dcab70c58f5751a325a8bb23adc12004576cead8b11cbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2da3789a4f8422b8dcab70c58f5751a325a8bb23adc12004576cead8b11cbff", kill_on_drop: false }` [INFO] [stdout] f2da3789a4f8422b8dcab70c58f5751a325a8bb23adc12004576cead8b11cbff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b957601ad9eb79c605b480cf1e412df2f93b1b5737f3d5fe7f16dc600dd9ddac [INFO] running `Command { std: "docker" "start" "-a" "b957601ad9eb79c605b480cf1e412df2f93b1b5737f3d5fe7f16dc600dd9ddac", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling depbank v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "b957601ad9eb79c605b480cf1e412df2f93b1b5737f3d5fe7f16dc600dd9ddac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b957601ad9eb79c605b480cf1e412df2f93b1b5737f3d5fe7f16dc600dd9ddac", kill_on_drop: false }` [INFO] [stdout] b957601ad9eb79c605b480cf1e412df2f93b1b5737f3d5fe7f16dc600dd9ddac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 067f6ad9b07f76efddc21513a902af369d7a02c8be77a6949a0f5dd4356c2eb5 [INFO] running `Command { std: "docker" "start" "-a" "067f6ad9b07f76efddc21513a902af369d7a02c8be77a6949a0f5dd4356c2eb5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/depbank-d1dccdca201f57c4) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test tests::test_construct_dependency_path ... ok [INFO] [stdout] test tests::test_resolve_dependency_versions ... ok [INFO] [stdout] test tests::test_find_dependencies_in_workspace ... ok [INFO] [stdout] test tests::test_collect_dependencies ... ok [INFO] [stdout] test tests::test_is_dependency_available ... ok [INFO] [stdout] test tests::test_extract_dependency_info ... ok [INFO] [stdout] test tests::test_find_cargo_lock ... ok [INFO] [stdout] test tests::test_find_cargo_toml_files_nonexistent_dir ... ok [INFO] [stdout] test tests::test_resolve_dependency_versions_nonexistent_file ... ok [INFO] [stdout] test tests::test_extract_dependency_info_with_all_dependency_types ... ok [INFO] [stdout] test tests::test_resolve_dependency_versions_with_multiple_versions ... ok [INFO] [stdout] test tests::test_resolve_registry_path_with_mock ... ok [INFO] [stdout] test tests::test_find_cargo_toml_files ... ok [INFO] [stdout] test tests::test_collect_dependencies_with_overlapping_deps ... ok [INFO] [stdout] test tests::test_generate_code_bank ... ok [INFO] [stdout] test tests::test_calculate_tokens ... FAILED [INFO] [stdout] test tests::test_calculate_directory_tokens ... FAILED [INFO] [stdout] test tests::test_calculate_file_tokens ... FAILED [INFO] [stdout] test tests::test_find_cargo_toml_files_file_as_dir ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_calculate_tokens stdout ---- [INFO] [stdout] Error: Failed to load tokenizer: request error: https://huggingface.co/bert-base-cased/resolve/main/tokenizer.json: Dns Failed: resolve dns name 'huggingface.co:443': failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: depbank::calculate_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:941:22 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:960:27 [INFO] [stdout] 3: depbank::calculate_tokens [INFO] [stdout] at ./src/lib.rs:941:10 [INFO] [stdout] 4: depbank::tests::test_calculate_tokens [INFO] [stdout] at ./src/lib.rs:1418:27 [INFO] [stdout] 5: depbank::tests::test_calculate_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:1416:35 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 8: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 9: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 10: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 11: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 12: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 13: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 14: test::run_test_in_process [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 16: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 17: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 18: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 20: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 21: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 22: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 23: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 24: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 26: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 27: [INFO] [stdout] 28: clone [INFO] [stdout] [INFO] [stdout] ---- tests::test_calculate_directory_tokens stdout ---- [INFO] [stdout] Error: Failed to load tokenizer: request error: https://huggingface.co/bert-base-cased/resolve/main/tokenizer.json: Dns Failed: resolve dns name 'huggingface.co:443': failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: depbank::calculate_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:941:22 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:960:27 [INFO] [stdout] 3: depbank::calculate_tokens [INFO] [stdout] at ./src/lib.rs:941:10 [INFO] [stdout] 4: depbank::calculate_file_tokens [INFO] [stdout] at ./src/lib.rs:967:5 [INFO] [stdout] 5: depbank::calculate_directory_tokens [INFO] [stdout] at ./src/lib.rs:1063:27 [INFO] [stdout] 6: depbank::tests::test_calculate_directory_tokens [INFO] [stdout] at ./src/lib.rs:1462:21 [INFO] [stdout] 7: depbank::tests::test_calculate_directory_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:1449:45 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 10: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 11: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 12: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 13: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 14: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 15: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 16: test::run_test_in_process [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 17: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 18: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 19: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 20: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 21: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 22: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 23: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 25: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 28: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 29: [INFO] [stdout] 30: clone [INFO] [stdout] [INFO] [stdout] ---- tests::test_calculate_file_tokens stdout ---- [INFO] [stdout] Error: Failed to load tokenizer: request error: https://huggingface.co/bert-base-cased/resolve/main/tokenizer.json: Dns Failed: resolve dns name 'huggingface.co:443': failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: depbank::calculate_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:941:22 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:960:27 [INFO] [stdout] 3: depbank::calculate_tokens [INFO] [stdout] at ./src/lib.rs:941:10 [INFO] [stdout] 4: depbank::calculate_file_tokens [INFO] [stdout] at ./src/lib.rs:967:5 [INFO] [stdout] 5: depbank::tests::test_calculate_file_tokens [INFO] [stdout] at ./src/lib.rs:1439:27 [INFO] [stdout] 6: depbank::tests::test_calculate_file_tokens::{{closure}} [INFO] [stdout] at ./src/lib.rs:1429:40 [INFO] [stdout] 7: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 9: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 10: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 11: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 12: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 13: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 14: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 15: test::run_test_in_process [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 16: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 17: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 18: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 19: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 21: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 22: std::panicking::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 24: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 25: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 27: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 28: [INFO] [stdout] 29: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_calculate_directory_tokens [INFO] [stdout] tests::test_calculate_file_tokens [INFO] [stdout] tests::test_calculate_tokens [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "067f6ad9b07f76efddc21513a902af369d7a02c8be77a6949a0f5dd4356c2eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067f6ad9b07f76efddc21513a902af369d7a02c8be77a6949a0f5dd4356c2eb5", kill_on_drop: false }` [INFO] [stdout] 067f6ad9b07f76efddc21513a902af369d7a02c8be77a6949a0f5dd4356c2eb5