[INFO] fetching crate olis_string 0.1.3... [INFO] testing olis_string-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate olis_string 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate olis_string 0.1.3 [INFO] finished tweaking crates.io crate olis_string 0.1.3 [INFO] tweaked toml for crates.io crate olis_string 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate olis_string 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate olis_string 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768d02c973e142b9880319c16e2ef6c9a875f90a0fbb6c823b10383a7353dbc4 [INFO] running `Command { std: "docker" "start" "-a" "768d02c973e142b9880319c16e2ef6c9a875f90a0fbb6c823b10383a7353dbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768d02c973e142b9880319c16e2ef6c9a875f90a0fbb6c823b10383a7353dbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768d02c973e142b9880319c16e2ef6c9a875f90a0fbb6c823b10383a7353dbc4", kill_on_drop: false }` [INFO] [stdout] 768d02c973e142b9880319c16e2ef6c9a875f90a0fbb6c823b10383a7353dbc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be13a6d7a9ca29e85c065060868caf7977f1d3425e4fa989515933b17019b1c [INFO] running `Command { std: "docker" "start" "-a" "3be13a6d7a9ca29e85c065060868caf7977f1d3425e4fa989515933b17019b1c", kill_on_drop: false }` [INFO] [stderr] Compiling olis_string v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn tagged(&self) -> TaggedSsoString64 { [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] 737 | pub fn tagged(&self) -> TaggedSsoString64<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:746:23 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "3be13a6d7a9ca29e85c065060868caf7977f1d3425e4fa989515933b17019b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be13a6d7a9ca29e85c065060868caf7977f1d3425e4fa989515933b17019b1c", kill_on_drop: false }` [INFO] [stdout] 3be13a6d7a9ca29e85c065060868caf7977f1d3425e4fa989515933b17019b1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e23279cabe5846990b340800d4b3e0e934010cc83c2a9ea4e2366dce95b0bca5 [INFO] running `Command { std: "docker" "start" "-a" "e23279cabe5846990b340800d4b3e0e934010cc83c2a9ea4e2366dce95b0bca5", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn tagged(&self) -> TaggedSsoString64 { [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] 737 | pub fn tagged(&self) -> TaggedSsoString64<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:746:23 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling olis_string v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn tagged(&self) -> TaggedSsoString64 { [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] 737 | pub fn tagged(&self) -> TaggedSsoString64<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sso_string.rs:746:23 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "e23279cabe5846990b340800d4b3e0e934010cc83c2a9ea4e2366dce95b0bca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23279cabe5846990b340800d4b3e0e934010cc83c2a9ea4e2366dce95b0bca5", kill_on_drop: false }` [INFO] [stdout] e23279cabe5846990b340800d4b3e0e934010cc83c2a9ea4e2366dce95b0bca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89fbdb49790672f256c0b0a876929b8b53675dc061d0de3d6f6b9ca5fd22a6b0 [INFO] running `Command { std: "docker" "start" "-a" "89fbdb49790672f256c0b0a876929b8b53675dc061d0de3d6f6b9ca5fd22a6b0", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sso_string.rs:737:19 [INFO] [stderr] | [INFO] [stderr] 737 | pub fn tagged(&self) -> TaggedSsoString64 { [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] 737 | pub fn tagged(&self) -> TaggedSsoString64<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sso_string.rs:746:23 [INFO] [stderr] | [INFO] [stderr] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 746 | pub fn tagged_mut(&mut self) -> TaggedSsoString64Mut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `olis_string` (lib) generated 2 warnings (run `cargo fix --lib -p olis_string` to apply 2 suggestions) [INFO] [stderr] warning: `olis_string` (lib test) generated 2 warnings (2 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/olis_string-1838cf16e5d5d31b) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test tests::as_mut_str_works ... ok [INFO] [stdout] test tests::boost_coverage ... ok [INFO] [stdout] test tests::can_use_sso_str_for_cow ... ok [INFO] [stdout] test tests::constructable_from_long_string ... ok [INFO] [stdout] test tests::constructable_from_short_std_string ... ok [INFO] [stdout] test tests::contructable_from_raw_parts ... ok [INFO] [stdout] test tests::long_string_can_clone_with_additional_capacity ... ok [INFO] [stdout] test tests::long_string_extends_within_capacity ... ok [INFO] [stdout] test tests::long_string_reallocs_automatically ... ok [INFO] [stdout] test tests::push_works ... ok [INFO] [stdout] test tests::pop_works ... ok [INFO] [stdout] test tests::raw_buf_capacity_is_correct ... ok [INFO] [stdout] test tests::long_string_get_non_null_slice ... ok [INFO] [stdout] test tests::long_string_gets_non_null ... ok [INFO] [stdout] test tests::raw_buf_clones_correctly ... ok [INFO] [stdout] test tests::raw_buf_is_aligned_and_non_null ... ok [INFO] [stdout] test tests::short_string_64_fills_to_max_capacity ... ok [INFO] [stdout] test tests::short_string_64_upgrades_correctly ... ok [INFO] [stdout] test tests::short_string_push_works ... ok [INFO] [stdout] test tests::test_sso_string_upgrades ... ok [INFO] [stdout] test tests::long_string_constructs_from_str ... ok [INFO] [stdout] test tests::retain_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests olis_string [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - (line 171) ... ok [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 194) stdout ---- [INFO] [stdout] error: expected parameter name, found `*` [INFO] [stdout] --> src/lib.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn deref(*const T) -> T; [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn deref(*const T) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sso` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sso::String; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `sso` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sso`, use `cargo add sso` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sso` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sso::String; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `sso` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sso`, use `cargo add sso` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 212) stdout ---- [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/lib.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr, Delta) -> Ptr; [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr: TypeName, Delta) -> Ptr; [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(_: Ptr, Delta) -> Ptr; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr, Delta) -> Ptr; [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr, Delta: TypeName) -> Ptr; [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr, _: Delta) -> Ptr; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 13 | fn offset(Ptr, Delta) -> Ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sso` [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sso::String; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `sso` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sso`, use `cargo add sso` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaggedSsoString64Mut` [INFO] [stdout] --> src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 13 | TaggedSsoString64Mut::Long(long) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TaggedSsoString64Mut` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaggedSsoString64Mut` [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 18 | TaggedSsoString64Mut::Short(..) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TaggedSsoString64Mut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 126) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn free(&mut self) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn free(&mut self) { [INFO] [stdout] | ---- `Self` not allowed in a function [INFO] [stdout] ... [INFO] [stdout] 7 | Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnsafeWrite` [INFO] [stdout] --> src/lib.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 9 | len: UnsafeWrite::new(0), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UnsafeWrite` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnsafeWrite` [INFO] [stdout] --> src/lib.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 12 | capacity: UnsafeWrite::new(0), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UnsafeWrite` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnsafeWrite` [INFO] [stdout] --> src/lib.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 13 | buf: UnsafeWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UnsafeWrite` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 126) [INFO] [stdout] src/lib.rs - (line 194) [INFO] [stdout] src/lib.rs - (line 212) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "89fbdb49790672f256c0b0a876929b8b53675dc061d0de3d6f6b9ca5fd22a6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89fbdb49790672f256c0b0a876929b8b53675dc061d0de3d6f6b9ca5fd22a6b0", kill_on_drop: false }` [INFO] [stdout] 89fbdb49790672f256c0b0a876929b8b53675dc061d0de3d6f6b9ca5fd22a6b0