[INFO] fetching crate phollaits 0.2.1... [INFO] testing phollaits-0.2.1 against 1.49.0 for beta-1.50-1 [INFO] extracting crate phollaits 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate phollaits 0.2.1 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate phollaits 0.2.1 [INFO] finished tweaking crates.io crate phollaits 0.2.1 [INFO] tweaked toml for crates.io crate phollaits 0.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1add8eaf31c4b5e081403be4bce5cbf5f2cc50abe3c7efe1f51b12e615370301 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1add8eaf31c4b5e081403be4bce5cbf5f2cc50abe3c7efe1f51b12e615370301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1add8eaf31c4b5e081403be4bce5cbf5f2cc50abe3c7efe1f51b12e615370301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1add8eaf31c4b5e081403be4bce5cbf5f2cc50abe3c7efe1f51b12e615370301", kill_on_drop: false }` [INFO] [stdout] 1add8eaf31c4b5e081403be4bce5cbf5f2cc50abe3c7efe1f51b12e615370301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9155cab7ace17d2181a37c34f4362af19122047b514e77adb5fd889f698ccb49 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9155cab7ace17d2181a37c34f4362af19122047b514e77adb5fd889f698ccb49", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling phollaits v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.50s [INFO] running `Command { std: "docker" "inspect" "9155cab7ace17d2181a37c34f4362af19122047b514e77adb5fd889f698ccb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9155cab7ace17d2181a37c34f4362af19122047b514e77adb5fd889f698ccb49", kill_on_drop: false }` [INFO] [stdout] 9155cab7ace17d2181a37c34f4362af19122047b514e77adb5fd889f698ccb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddd39b69b5f3ff056b8a0bae1821ce1c2ec3334e55c6e9396a568a28e4e43fde [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ddd39b69b5f3ff056b8a0bae1821ce1c2ec3334e55c6e9396a568a28e4e43fde", kill_on_drop: false }` [INFO] [stderr] Compiling phollaits v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "ddd39b69b5f3ff056b8a0bae1821ce1c2ec3334e55c6e9396a568a28e4e43fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd39b69b5f3ff056b8a0bae1821ce1c2ec3334e55c6e9396a568a28e4e43fde", kill_on_drop: false }` [INFO] [stdout] ddd39b69b5f3ff056b8a0bae1821ce1c2ec3334e55c6e9396a568a28e4e43fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca388bf0c83b77c5eb78d0086804f3489bd003f2f04a94aaf8fa532629a1de1a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca388bf0c83b77c5eb78d0086804f3489bd003f2f04a94aaf8fa532629a1de1a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/phollaits-251c5d4e89297a50 [INFO] [stderr] Doc-tests phollaits [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib/hash.rs - hash::HashExt::sha512sum (line 88) ... FAILED [INFO] [stdout] test src/lib/hash.rs - hash::HashExt::sha256sum (line 56) ... FAILED [INFO] [stdout] test src/lib/hash.rs - hash::HashExt::sha384sum (line 72) ... FAILED [INFO] [stdout] test src/lib/hash.rs - hash::HashExt::md5sum (line 24) ... FAILED [INFO] [stdout] test src/lib/stdext.rs - stdext::StringExt::shellexpand (line 83) ... FAILED [INFO] [stdout] test src/lib/hash.rs - hash::HashExt::sha1sum (line 40) ... FAILED [INFO] [stdout] test src/lib/archive.rs - archive::TarBuilderExt::append_file_directly (line 21) ... FAILED [INFO] [stdout] test src/lib/stdext.rs - stdext::BoolExtensions::reverse (line 15) ... FAILED [INFO] [stdout] test src/lib/stdext.rs - stdext::Vec<&'_ str>::to_vec_string (line 120) ... FAILED [INFO] [stdout] test src/lib/archive.rs - archive::TarBuilderExt::append_text (line 39) ... FAILED [INFO] [stdout] test src/lib/stdext.rs - stdext::Option::to_string (line 62) ... ok [INFO] [stdout] test src/lib/mod.rs - Result::to_io_result (line 35) ... ok [INFO] [stdout] test src/lib/mod.rs - Option::to_io_result (line 56) ... ok [INFO] [stdout] test src/lib/stdext.rs - stdext::Option::to_string_option (line 43) ... ok [INFO] [stdout] test src/lib/converter.rs - converter::HumanReadable::bytes_as_hrb (line 9) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib/hash.rs - hash::HashExt::sha512sum (line 88) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `file` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib/hash.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 7 | let file = fs::File::open("/home/ph0llux/Pictures/image01.png")?; [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stdout] 8 | println!("{:?}", file.sha512sum()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/hash.rs - hash::HashExt::sha256sum (line 56) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `file` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib/hash.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 7 | let file = fs::File::open("/home/ph0llux/Pictures/image01.png")?; [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stdout] 8 | println!("{:?}", file.sha256sum()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/hash.rs - hash::HashExt::sha384sum (line 72) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `file` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib/hash.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 7 | let file = fs::File::open("/home/ph0llux/Pictures/image01.png")?; [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stdout] 8 | println!("{:?}", file.sha384sum()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/hash.rs - hash::HashExt::md5sum (line 24) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `file` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib/hash.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 7 | let file = fs::File::open("/home/ph0llux/Pictures/image01.png")?; [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stdout] 8 | println!("{:?}", file.md5sum()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/stdext.rs - stdext::StringExt::shellexpand (line 83) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> src/lib/stdext.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 7 | let b = s.shellexpand(); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/hash.rs - hash::HashExt::sha1sum (line 40) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `file` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib/hash.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 7 | let file = fs::File::open("/home/ph0llux/Pictures/image01.png")?; [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stdout] 8 | println!("{:?}", file.sha1sum()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/archive.rs - archive::TarBuilderExt::append_file_directly (line 21) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] = note: required by `tar::Builder::::new` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tar-0.4.30/src/builder.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Builder { [INFO] [stdout] | ----- required by this bound in `tar::Builder` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tar-0.4.30/src/builder.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Builder { [INFO] [stdout] | ----- required by this bound in `tar::Builder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append_file_directly` found for struct `tar::Builder<&str>` in the current scope [INFO] [stdout] --> src/lib/archive.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 10 | b.append_file_directly("/home/ph0llux/example01.png"); //appends a file (absoulte path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `tar::Builder<&str>` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append_file_directly` found for struct `tar::Builder<&str>` in the current scope [INFO] [stdout] --> src/lib/archive.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 11 | b.append_file_directly("example02.png"); //appends a file (relative path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `tar::Builder<&str>` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `close_archive` found for struct `tar::Builder<&str>` in the current scope [INFO] [stdout] --> src/lib/archive.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 12 | b.close_archive(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `tar::Builder<&str>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/stdext.rs - stdext::BoolExtensions::reverse (line 15) stdout ---- [INFO] [stdout] error: cannot find macro `asserteq` in this scope [INFO] [stdout] --> src/lib/stdext.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 5 | asserteq!(a, false); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reverse` found for type `bool` in the current scope [INFO] [stdout] --> src/lib/stdext.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 4 | a.reverse(); [INFO] [stdout] | ^^^^^^^ method not found in `bool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use phollaits::BoolExtensions; [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/stdext.rs - stdext::Vec<&'_ str>::to_vec_string (line 120) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib/stdext.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 5 | const a: [&'static str; 6] = [ "a", "b", "c" ]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 6 elements, found one with 3 elements [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `to_vec` on type `[&'static str; 6]` [INFO] [stdout] --> src/lib/stdext.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 8 | let b = a.to_vec; [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 8 | let b = a.to_vec(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0615. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib/archive.rs - archive::TarBuilderExt::append_text (line 39) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] = note: required by `tar::Builder::::new` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tar-0.4.30/src/builder.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Builder { [INFO] [stdout] | ----- required by this bound in `tar::Builder` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib/archive.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 9 | let b = Builder::new("/tmp/archive.tar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tar-0.4.30/src/builder.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Builder { [INFO] [stdout] | ----- required by this bound in `tar::Builder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append_text` found for struct `tar::Builder<&str>` in the current scope [INFO] [stdout] --> src/lib/archive.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 12 | b.append_text(filename_in_archive, content); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tar::Builder<&str>` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `close_archive` found for struct `tar::Builder<&str>` in the current scope [INFO] [stdout] --> src/lib/archive.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 13 | b.close_archive(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `tar::Builder<&str>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib/archive.rs - archive::TarBuilderExt::append_file_directly (line 21) [INFO] [stdout] src/lib/archive.rs - archive::TarBuilderExt::append_text (line 39) [INFO] [stdout] src/lib/hash.rs - hash::HashExt::md5sum (line 24) [INFO] [stdout] src/lib/hash.rs - hash::HashExt::sha1sum (line 40) [INFO] [stdout] src/lib/hash.rs - hash::HashExt::sha256sum (line 56) [INFO] [stdout] src/lib/hash.rs - hash::HashExt::sha384sum (line 72) [INFO] [stdout] src/lib/hash.rs - hash::HashExt::sha512sum (line 88) [INFO] [stdout] src/lib/stdext.rs - stdext::BoolExtensions::reverse (line 15) [INFO] [stdout] src/lib/stdext.rs - stdext::StringExt::shellexpand (line 83) [INFO] [stdout] src/lib/stdext.rs - stdext::Vec<&'_ str>::to_vec_string (line 120) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ca388bf0c83b77c5eb78d0086804f3489bd003f2f04a94aaf8fa532629a1de1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca388bf0c83b77c5eb78d0086804f3489bd003f2f04a94aaf8fa532629a1de1a", kill_on_drop: false }` [INFO] [stdout] ca388bf0c83b77c5eb78d0086804f3489bd003f2f04a94aaf8fa532629a1de1a