[INFO] fetching crate olis_string 0.1.3... [INFO] testing olis_string-0.1.3 against 1.91.0 for beta-1.92-2 [INFO] extracting crate olis_string 0.1.3 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate olis_string 0.1.3 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad9437608333c73c01d648df205507070116053dbf183fa190b44ac0160780f8 [INFO] running `Command { std: "docker" "start" "-a" "ad9437608333c73c01d648df205507070116053dbf183fa190b44ac0160780f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad9437608333c73c01d648df205507070116053dbf183fa190b44ac0160780f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad9437608333c73c01d648df205507070116053dbf183fa190b44ac0160780f8", kill_on_drop: false }` [INFO] [stdout] ad9437608333c73c01d648df205507070116053dbf183fa190b44ac0160780f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22257dd460dc7d50031ecf371f5f5abc08285bbb1f5937bc95937a9422e35453 [INFO] running `Command { std: "docker" "start" "-a" "22257dd460dc7d50031ecf371f5f5abc08285bbb1f5937bc95937a9422e35453", 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.34s [INFO] running `Command { std: "docker" "inspect" "22257dd460dc7d50031ecf371f5f5abc08285bbb1f5937bc95937a9422e35453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22257dd460dc7d50031ecf371f5f5abc08285bbb1f5937bc95937a9422e35453", kill_on_drop: false }` [INFO] [stdout] 22257dd460dc7d50031ecf371f5f5abc08285bbb1f5937bc95937a9422e35453 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6ea7a7c7c007a601e3e79299f89cd0680dc068265e917d6495f90bb34fe6a48 [INFO] running `Command { std: "docker" "start" "-a" "d6ea7a7c7c007a601e3e79299f89cd0680dc068265e917d6495f90bb34fe6a48", 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.74s [INFO] running `Command { std: "docker" "inspect" "d6ea7a7c7c007a601e3e79299f89cd0680dc068265e917d6495f90bb34fe6a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ea7a7c7c007a601e3e79299f89cd0680dc068265e917d6495f90bb34fe6a48", kill_on_drop: false }` [INFO] [stdout] d6ea7a7c7c007a601e3e79299f89cd0680dc068265e917d6495f90bb34fe6a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56f0d11c18b45a003338e4fd07696971c68906f6c4ad6fb2861619dc88689b4e [INFO] running `Command { std: "docker" "start" "-a" "56f0d11c18b45a003338e4fd07696971c68906f6c4ad6fb2861619dc88689b4e", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] running 22 tests [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.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/olis_string-76d1dddc8324881f) [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::long_string_can_clone_with_additional_capacity ... ok [INFO] [stdout] test tests::long_string_get_non_null_slice ... ok [INFO] [stdout] test tests::long_string_extends_within_capacity ... ok [INFO] [stdout] test tests::long_string_gets_non_null ... ok [INFO] [stdout] test tests::long_string_reallocs_automatically ... ok [INFO] [stdout] test tests::pop_works ... ok [INFO] [stdout] test tests::push_works ... ok [INFO] [stdout] test tests::raw_buf_capacity_is_correct ... 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::retain_works ... 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::contructable_from_raw_parts ... 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] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests olis_string [INFO] [stdout] [INFO] [stdout] running 8 tests [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 82) ... FAILED [INFO] [stdout] test src/lib.rs - (line 171) ... ok [INFO] [stdout] test src/lib.rs - (line 73) ... ok [INFO] [stdout] test src/lib.rs - (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 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] [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.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "56f0d11c18b45a003338e4fd07696971c68906f6c4ad6fb2861619dc88689b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f0d11c18b45a003338e4fd07696971c68906f6c4ad6fb2861619dc88689b4e", kill_on_drop: false }` [INFO] [stdout] 56f0d11c18b45a003338e4fd07696971c68906f6c4ad6fb2861619dc88689b4e