[INFO] fetching crate clippet 0.1.8... [INFO] testing clippet-0.1.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate clippet 0.1.8 into /workspace/builds/worker-88/source [INFO] validating manifest of crates.io crate clippet 0.1.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-88/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c313663a56614333c44a3a831acae07de96102b88921385338d03e9390a67b26 [INFO] running `Command { std: "docker" "start" "-a" "c313663a56614333c44a3a831acae07de96102b88921385338d03e9390a67b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c313663a56614333c44a3a831acae07de96102b88921385338d03e9390a67b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c313663a56614333c44a3a831acae07de96102b88921385338d03e9390a67b26", kill_on_drop: false }` [INFO] [stdout] c313663a56614333c44a3a831acae07de96102b88921385338d03e9390a67b26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 562efbcf1c99d2dc31399748f1cb0ed75d48c408468bfb80c6618a126999c219 [INFO] running `Command { std: "docker" "start" "-a" "562efbcf1c99d2dc31399748f1cb0ed75d48c408468bfb80c6618a126999c219", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling clippet v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "562efbcf1c99d2dc31399748f1cb0ed75d48c408468bfb80c6618a126999c219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562efbcf1c99d2dc31399748f1cb0ed75d48c408468bfb80c6618a126999c219", kill_on_drop: false }` [INFO] [stdout] 562efbcf1c99d2dc31399748f1cb0ed75d48c408468bfb80c6618a126999c219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c26df055bc3837795bbc140d25a43ada981125afe3ca28ea0ab6080c62fde1de [INFO] running `Command { std: "docker" "start" "-a" "c26df055bc3837795bbc140d25a43ada981125afe3ca28ea0ab6080c62fde1de", kill_on_drop: false }` [INFO] [stderr] Compiling clippet v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/clippet-8ea7a09c0aace4fa) [INFO] running `Command { std: "docker" "inspect" "c26df055bc3837795bbc140d25a43ada981125afe3ca28ea0ab6080c62fde1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26df055bc3837795bbc140d25a43ada981125afe3ca28ea0ab6080c62fde1de", kill_on_drop: false }` [INFO] [stdout] c26df055bc3837795bbc140d25a43ada981125afe3ca28ea0ab6080c62fde1de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6158356a3a8a77405c45a744e52de269514dd916e09b16d1d13fea21dc887c4a [INFO] running `Command { std: "docker" "start" "-a" "6158356a3a8a77405c45a744e52de269514dd916e09b16d1d13fea21dc887c4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clippet-8ea7a09c0aace4fa) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests clippet [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] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - Clippet::from_bytes (line 125) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_label (line 21) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_string (line 140) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::dechunk (line 182) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::add_bytes (line 45) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_file (line 103) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::combine (line 162) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_as_string (line 88) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::drop_bytes (line 57) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_size (line 69) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_data (line 78) - 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] [INFO] [stdout] failures: [INFO] [stdout] [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] 3 | let data = Clippet::from_bytes(foo); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] 3 | 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::get_label (line 21) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | 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] 2 | 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_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] 3 | let data = Clippet::from_string("Lorem ipsum dolor amet...", 512); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::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] 3 | let data = Clippet::from_string("HelloWorld", 5); // [b"Hello", b"World"] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::add_bytes (line 45) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 3 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] 4 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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::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] 3 | let data = Clippet::from_file("example.txt", 512); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 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::combine (line 162) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/lib.rs:164:33 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", data.combine()); /// Hello, World! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clippet` [INFO] [stdout] --> src/lib.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = Clippet::from_string("Hello, World!", 512); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0585. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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] 4 | 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] 3 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] 4 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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::drop_bytes (line 57) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 3 | let mut data = Clippet { ... }; [INFO] [stdout] | ------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `data` [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 4 | data.get_size() // e.g. 10 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | data.drop_bytes(5) // drops 6th sequence of bytes [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `data` [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 5 | data.drop_bytes(5) // drops 6th sequence of bytes [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | data.get_size() // 9 [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clippet` in this scope [INFO] [stdout] --> src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clippet::Clippet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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_size (line 69) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | let data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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_data (line 78) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 3 | let bytes = BytesMut::from("Hello, world!"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] 4 | let mut data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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::rechunk (line 196) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 5 | let data = data.rechunk(1024) // size: 2 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } _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] 4 | let data = Clippet::from_string(longstring, 512); // size: 4 [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] 3 | 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] 3 | let data = Clippet { ... }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | 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] [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.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6158356a3a8a77405c45a744e52de269514dd916e09b16d1d13fea21dc887c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6158356a3a8a77405c45a744e52de269514dd916e09b16d1d13fea21dc887c4a", kill_on_drop: false }` [INFO] [stdout] 6158356a3a8a77405c45a744e52de269514dd916e09b16d1d13fea21dc887c4a