[INFO] fetching crate string32 0.2.0... [INFO] testing string32-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate string32 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate string32 0.2.0 [INFO] finished tweaking crates.io crate string32 0.2.0 [INFO] tweaked toml for crates.io crate string32 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate string32 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--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] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usize_cast v1.1.0 [INFO] [stderr] Downloaded mediumvec v1.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96cde872beeb8643bdea76d3264f955aa50678921400063b2e530acc8a778125 [INFO] running `Command { std: "docker" "start" "-a" "96cde872beeb8643bdea76d3264f955aa50678921400063b2e530acc8a778125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96cde872beeb8643bdea76d3264f955aa50678921400063b2e530acc8a778125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cde872beeb8643bdea76d3264f955aa50678921400063b2e530acc8a778125", kill_on_drop: false }` [INFO] [stdout] 96cde872beeb8643bdea76d3264f955aa50678921400063b2e530acc8a778125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06804d040bf1415c8466affad837e68ee52a24847e81969eee9f0e9185fca460 [INFO] running `Command { std: "docker" "start" "-a" "06804d040bf1415c8466affad837e68ee52a24847e81969eee9f0e9185fca460", kill_on_drop: false }` [INFO] [stderr] Compiling mediumvec v1.3.1 [INFO] [stderr] Compiling usize_cast v1.1.0 [INFO] [stderr] Compiling string32 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/str32.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "06804d040bf1415c8466affad837e68ee52a24847e81969eee9f0e9185fca460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06804d040bf1415c8466affad837e68ee52a24847e81969eee9f0e9185fca460", kill_on_drop: false }` [INFO] [stdout] 06804d040bf1415c8466affad837e68ee52a24847e81969eee9f0e9185fca460 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74482794a1b2fd5893462a21ddd5c4e868ab873a5cf5a95cfdf339dedb764e3a [INFO] running `Command { std: "docker" "start" "-a" "74482794a1b2fd5893462a21ddd5c4e868ab873a5cf5a95cfdf339dedb764e3a", kill_on_drop: false }` [INFO] [stderr] Compiling string32 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/str32.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/string32.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/str32.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn chars(&self) -> std::str::Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "74482794a1b2fd5893462a21ddd5c4e868ab873a5cf5a95cfdf339dedb764e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74482794a1b2fd5893462a21ddd5c4e868ab873a5cf5a95cfdf339dedb764e3a", kill_on_drop: false }` [INFO] [stdout] 74482794a1b2fd5893462a21ddd5c4e868ab873a5cf5a95cfdf339dedb764e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b9a6c824265d7f8d895ff7b58032c4c4c76885b4ec94b525db6aa66fece4e89 [INFO] running `Command { std: "docker" "start" "-a" "0b9a6c824265d7f8d895ff7b58032c4c4c76885b4ec94b525db6aa66fece4e89", kill_on_drop: false }` [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/string32.rs:386:5 [INFO] [stderr] | [INFO] [stderr] 386 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/string32.rs:396:5 [INFO] [stderr] | [INFO] [stderr] 396 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/str32.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn chars(&self) -> std::str::Chars { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 138 | pub fn chars(&self) -> std::str::Chars<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `string32` (lib) generated 3 warnings (run `cargo fix --lib -p string32` to apply 3 suggestions) [INFO] [stderr] warning: `string32` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/string32-9eb02be5133638ff) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_complex ... ok [INFO] [stdout] test tests::test_simple ... ok [INFO] [stdout] test tests::test_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests string32 [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test src/str32.rs - str32::Str32::as_bytes_mut (line 59) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::to_ascii_lowercase (line 309) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::as_bytes (line 44) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::as_str (line 23) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::make_ascii_uppercase (line 243) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::is_empty (line 125) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::make_ascii_lowercase (line 228) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::len (line 110) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::to_uppercase (line 294) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::trim (line 339) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::trim_start (line 354) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::to_lowercase (line 279) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::capacity (line 57) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::to_ascii_uppercase (line 324) ... ok [INFO] [stdout] test src/str32.rs - str32::Str32::trim_end (line 369) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::as_string (line 77) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::insert (line 174) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::clear (line 270) ... FAILED [INFO] [stdout] test src/string32.rs - string32::String32::new (line 28) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::into_bytes (line 285) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::into_boxed_str (line 301) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::push (line 101) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::pop (line 136) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::push_str (line 119) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::remove (line 155) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::reserve_exact (line 227) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::insert_str (line 193) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::shrink_to_fit (line 241) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::split_off (line 320) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::truncate (line 255) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::reserve (line 211) ... ok [INFO] [stdout] test src/string32.rs - string32::String32::with_capacity (line 41) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/string32.rs - string32::String32::clear (line 270) stdout ---- [INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (388) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mediumvec-1.3.1/src/vec32.rs:293:41: [INFO] [stdout] unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice [INFO] [stdout] [INFO] [stdout] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x603b640e1572 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x603b640e1572 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x603b640e1572 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x603b640e1572 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x603b640f028f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x603b640f028f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x603b640bf9f1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x603b640bf9f1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x603b640c4a92 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x603b640c62ec - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x603b640c6146 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x603b640c6975 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x603b640c67d6 - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x603b640c4bc9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x603b640b455d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x603b640f2fbd - core::panicking::panic_nounwind_fmt::runtime::h9268deeca22cb559 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:120:22 [INFO] [stdout] 16: 0x603b640f2fbd - core::panicking::panic_nounwind_fmt::h69113462a187fdbc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stdout] 17: 0x603b640b42bc - >::get_unchecked_mut::precondition_check::hc1cbc551e79251b4 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ub_checks.rs:73:21 [INFO] [stdout] 18: 0x603b640b4209 - >::get_unchecked_mut::h70c61abcdded261a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ub_checks.rs:78:17 [INFO] [stdout] 19: 0x603b640b32b9 - core::slice::::get_unchecked_mut::h29a727c2ed8b8500 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/slice/mod.rs:689:30 [INFO] [stdout] 20: 0x603b640b24f4 - mediumvec::vec32::Vec32::truncate::he683c30f8e6dca89 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mediumvec-1.3.1/src/vec32.rs:293:41 [INFO] [stdout] 21: 0x603b640b226d - mediumvec::vec32::Vec32::clear::hc1540d161dbfb635 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mediumvec-1.3.1/src/vec32.rs:279:14 [INFO] [stdout] 22: 0x603b640b224b - string32::string32::String32::clear::h95337ed000a49e40 [INFO] [stdout] at /opt/rustwide/workdir/src/string32.rs:278:16 [INFO] [stdout] 23: 0x603b640b14b8 - rust_out::main::_doctest_main_src_string32_rs_270_0::hf30ac241b340b8c8 [INFO] [stdout] 24: 0x603b640b1416 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 25: 0x603b640b1373 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 26: 0x603b640b1356 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 27: 0x603b640b1339 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 28: 0x603b640c0b00 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 29: 0x603b640c0b00 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x603b640c0b00 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x603b640c0b00 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x603b640c0b00 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 33: 0x603b640c0b00 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 34: 0x603b640c0b00 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 35: 0x603b640c0b00 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 36: 0x603b640c0b00 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 37: 0x603b640b1321 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 38: 0x603b640b1585 - main [INFO] [stdout] 39: 0x7eb379b181ca - [INFO] [stdout] 40: 0x7eb379b1828b - __libc_start_main [INFO] [stdout] 41: 0x603b640b1235 - _start [INFO] [stdout] 42: 0x0 - [INFO] [stdout] thread caused non-unwinding panic. aborting. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/string32.rs - string32::String32::clear (line 270) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0b9a6c824265d7f8d895ff7b58032c4c4c76885b4ec94b525db6aa66fece4e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9a6c824265d7f8d895ff7b58032c4c4c76885b4ec94b525db6aa66fece4e89", kill_on_drop: false }` [INFO] [stdout] 0b9a6c824265d7f8d895ff7b58032c4c4c76885b4ec94b525db6aa66fece4e89