[INFO] fetching crate clippet 0.1.8... [INFO] testing clippet-0.1.8 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate clippet 0.1.8 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clippet 0.1.8 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7b614a2b92a7d5917dff782f10a8b065d13dcf0814f393cc09ab4d86ed88ad8a [INFO] running `Command { std: "docker" "start" "-a" "7b614a2b92a7d5917dff782f10a8b065d13dcf0814f393cc09ab4d86ed88ad8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b614a2b92a7d5917dff782f10a8b065d13dcf0814f393cc09ab4d86ed88ad8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b614a2b92a7d5917dff782f10a8b065d13dcf0814f393cc09ab4d86ed88ad8a", kill_on_drop: false }` [INFO] [stdout] 7b614a2b92a7d5917dff782f10a8b065d13dcf0814f393cc09ab4d86ed88ad8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 23a345dbd57eee9940a9b3dd75ef12c7e137cad125790a8f38dca56abe5dfe70 [INFO] running `Command { std: "docker" "start" "-a" "23a345dbd57eee9940a9b3dd75ef12c7e137cad125790a8f38dca56abe5dfe70", 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.53s [INFO] running `Command { std: "docker" "inspect" "23a345dbd57eee9940a9b3dd75ef12c7e137cad125790a8f38dca56abe5dfe70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a345dbd57eee9940a9b3dd75ef12c7e137cad125790a8f38dca56abe5dfe70", kill_on_drop: false }` [INFO] [stdout] 23a345dbd57eee9940a9b3dd75ef12c7e137cad125790a8f38dca56abe5dfe70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5bbe32ce9a0b4e7f900bf59034ac2ec49d7128ffebc2c8b4f1468a24b740e131 [INFO] running `Command { std: "docker" "start" "-a" "5bbe32ce9a0b4e7f900bf59034ac2ec49d7128ffebc2c8b4f1468a24b740e131", 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.24s [INFO] running `Command { std: "docker" "inspect" "5bbe32ce9a0b4e7f900bf59034ac2ec49d7128ffebc2c8b4f1468a24b740e131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbe32ce9a0b4e7f900bf59034ac2ec49d7128ffebc2c8b4f1468a24b740e131", kill_on_drop: false }` [INFO] [stdout] 5bbe32ce9a0b4e7f900bf59034ac2ec49d7128ffebc2c8b4f1468a24b740e131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ba4fbde041d4e7205f66fa870374109d1fde32e364e77cf684633d3e3a8ee506 [INFO] running `Command { std: "docker" "start" "-a" "ba4fbde041d4e7205f66fa870374109d1fde32e364e77cf684633d3e3a8ee506", 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::dechunk (line 182) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_bytes (line 125) - 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::get_label (line 21) - 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::set_label (line 30) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_as_string (line 88) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::rechunk (line 196) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::get_size (line 69) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Clippet::from_string (line 140) - 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] 1 | 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::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] | ^^^^^^^ use of undeclared type `Clippet` [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 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] 3 | 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] 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::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] | ^^^^^^^^ use of undeclared type `BytesMut` [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] | ^^^^^^^ use of undeclared type `Clippet` [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 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] 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::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] | ^^^^^^^^ use of undeclared type `BytesMut` [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::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] 3 | 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] 2 + 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::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] ---- 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] | ^^^^^^^^ use of undeclared type `BytesMut` [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::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) [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] | ^^^^^^^ use of undeclared type `Clippet` [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::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::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] | ^^^^^^^ use of undeclared type `Clippet` [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 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] [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.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba4fbde041d4e7205f66fa870374109d1fde32e364e77cf684633d3e3a8ee506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4fbde041d4e7205f66fa870374109d1fde32e364e77cf684633d3e3a8ee506", kill_on_drop: false }` [INFO] [stdout] ba4fbde041d4e7205f66fa870374109d1fde32e364e77cf684633d3e3a8ee506