[INFO] fetching crate clippet 0.1.8... [INFO] testing clippet-0.1.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate clippet 0.1.8 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate clippet 0.1.8 [INFO] finished tweaking crates.io crate clippet 0.1.8 [INFO] tweaked toml for crates.io crate clippet 0.1.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clippet 0.1.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb657600ee09590d39bbeb6216e46147dcc9b4cb29a803f58181ddf7888ca624 [INFO] running `Command { std: "docker" "start" "-a" "fb657600ee09590d39bbeb6216e46147dcc9b4cb29a803f58181ddf7888ca624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb657600ee09590d39bbeb6216e46147dcc9b4cb29a803f58181ddf7888ca624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb657600ee09590d39bbeb6216e46147dcc9b4cb29a803f58181ddf7888ca624", kill_on_drop: false }` [INFO] [stdout] fb657600ee09590d39bbeb6216e46147dcc9b4cb29a803f58181ddf7888ca624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c5c76d97b9993725044e79c72000c93cdaf63aa2c70c82ac1badc81e5ff086 [INFO] running `Command { std: "docker" "start" "-a" "21c5c76d97b9993725044e79c72000c93cdaf63aa2c70c82ac1badc81e5ff086", kill_on_drop: false }` [INFO] [stderr] Compiling clippet v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "21c5c76d97b9993725044e79c72000c93cdaf63aa2c70c82ac1badc81e5ff086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c5c76d97b9993725044e79c72000c93cdaf63aa2c70c82ac1badc81e5ff086", kill_on_drop: false }` [INFO] [stdout] 21c5c76d97b9993725044e79c72000c93cdaf63aa2c70c82ac1badc81e5ff086 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc5c9df268ba8fe10231ffefc88fa4bd2c6bdb9547bd8ff63270a9e5bdfcdd75 [INFO] running `Command { std: "docker" "start" "-a" "fc5c9df268ba8fe10231ffefc88fa4bd2c6bdb9547bd8ff63270a9e5bdfcdd75", kill_on_drop: false }` [INFO] [stderr] Compiling clippet v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "fc5c9df268ba8fe10231ffefc88fa4bd2c6bdb9547bd8ff63270a9e5bdfcdd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5c9df268ba8fe10231ffefc88fa4bd2c6bdb9547bd8ff63270a9e5bdfcdd75", kill_on_drop: false }` [INFO] [stdout] fc5c9df268ba8fe10231ffefc88fa4bd2c6bdb9547bd8ff63270a9e5bdfcdd75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f81bff8e819a90af7ad8b1c527393f699af6377d8e05e842dc19806929cfe77e [INFO] running `Command { std: "docker" "start" "-a" "f81bff8e819a90af7ad8b1c527393f699af6377d8e05e842dc19806929cfe77e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clippet-e572c344c381358a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests clippet [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - Clippet::drop_bytes (line 57) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::add_bytes (line 45) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_size (line 69) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::dechunk (line 182) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_label (line 21) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_file (line 103) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_data (line 78) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::combine (line 162) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_string (line 140) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_bytes (line 125) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::rechunk (line 196) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::set_label (line 30) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_as_string (line 88) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Clippet::drop_bytes (line 57) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::add_bytes (line 45) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let mut data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytesMut` [INFO] [stdout] --> src/lib.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BytesMut` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 45 + use bytes::BytesMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 45 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::get_size (line 69) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | let data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::dechunk (line 182) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | let data = Clippet::from_string("HelloWorld", 5); // [b"Hello", b"World"] [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 182 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::get_label (line 21) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | let data = Clippet { label : "Hello!".to_string(), ... }; [INFO] [stdout] | ------- while parsing this struct ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | let data = Clippet { label : "Hello!".to_string(), ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::from_file (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | let data = Clippet::from_file("example.txt", 512); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 103 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::get_data (line 78) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let mut data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytesMut` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BytesMut` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use bytes::BytesMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::combine (line 162) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | let data = Clippet::from_string("Hello, World!", 512); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 162 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::from_string (line 140) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | let data = Clippet::from_string("Lorem ipsum dolor amet...", 512); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 140 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::from_bytes (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | let data = Clippet::from_bytes(foo); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 125 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `foo` in this scope [INFO] [stdout] --> src/lib.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | let data = Clippet::from_bytes(foo); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::rechunk (line 196) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let data = data.rechunk(1024) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 200 | } _doctest_main_src_lib_rs_196_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | let data = Clippet::from_string(longstring, 512); // size: 4 [INFO] [stdout] | ^^^^^^^ use of undeclared type `Clippet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 196 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::set_label (line 30) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | let data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 30 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Clippet::get_as_string (line 88) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let mut data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytesMut` [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BytesMut` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 88 + use bytes::BytesMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 88 + use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Clippet::add_bytes (line 45) [INFO] [stdout] src/lib.rs - Clippet::combine (line 162) [INFO] [stdout] src/lib.rs - Clippet::dechunk (line 182) [INFO] [stdout] src/lib.rs - Clippet::drop_bytes (line 57) [INFO] [stdout] src/lib.rs - Clippet::from_bytes (line 125) [INFO] [stdout] src/lib.rs - Clippet::from_file (line 103) [INFO] [stdout] src/lib.rs - Clippet::from_string (line 140) [INFO] [stdout] src/lib.rs - Clippet::get_as_string (line 88) [INFO] [stdout] src/lib.rs - Clippet::get_data (line 78) [INFO] [stdout] src/lib.rs - Clippet::get_label (line 21) [INFO] [stdout] src/lib.rs - Clippet::get_size (line 69) [INFO] [stdout] src/lib.rs - Clippet::rechunk (line 196) [INFO] [stdout] src/lib.rs - Clippet::set_label (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f81bff8e819a90af7ad8b1c527393f699af6377d8e05e842dc19806929cfe77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81bff8e819a90af7ad8b1c527393f699af6377d8e05e842dc19806929cfe77e", kill_on_drop: false }` [INFO] [stdout] f81bff8e819a90af7ad8b1c527393f699af6377d8e05e842dc19806929cfe77e