[INFO] crate is_executable 0.1.2 is already in cache [INFO] extracting crate is_executable 0.1.2 into work/ex/beta-1.37-6/sources/1.36.0/reg/is_executable/0.1.2 [INFO] extracting crate is_executable 0.1.2 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/is_executable/0.1.2 [INFO] validating manifest of is_executable-0.1.2 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of is_executable-0.1.2 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing is_executable-0.1.2 [INFO] finished frobbing is_executable-0.1.2 [INFO] frobbed toml for is_executable-0.1.2 written to work/ex/beta-1.37-6/sources/1.36.0/reg/is_executable/0.1.2/Cargo.toml [INFO] started frobbing is_executable-0.1.2 [INFO] finished frobbing is_executable-0.1.2 [INFO] frobbed toml for is_executable-0.1.2 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/is_executable/0.1.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing is_executable-0.1.2 against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/is_executable/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] ff8df9df13110ce8cc6cc25cfa63773be3e096b0b85b1ca92c453be8e3b2ed7b [INFO] running `"docker" "start" "-a" "ff8df9df13110ce8cc6cc25cfa63773be3e096b0b85b1ca92c453be8e3b2ed7b"` [INFO] [stderr] Compiling is_executable v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `"docker" "inspect" "ff8df9df13110ce8cc6cc25cfa63773be3e096b0b85b1ca92c453be8e3b2ed7b"` [INFO] running `"docker" "rm" "-f" "ff8df9df13110ce8cc6cc25cfa63773be3e096b0b85b1ca92c453be8e3b2ed7b"` [INFO] [stdout] ff8df9df13110ce8cc6cc25cfa63773be3e096b0b85b1ca92c453be8e3b2ed7b [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/is_executable/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] c8350ef11c46fb8ccc9f30e052629f7fa4ac8d7c19e47198ade6c4c7fa36479f [INFO] running `"docker" "start" "-a" "c8350ef11c46fb8ccc9f30e052629f7fa4ac8d7c19e47198ade6c4c7fa36479f"` [INFO] [stderr] Compiling is_executable v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `"docker" "inspect" "c8350ef11c46fb8ccc9f30e052629f7fa4ac8d7c19e47198ade6c4c7fa36479f"` [INFO] running `"docker" "rm" "-f" "c8350ef11c46fb8ccc9f30e052629f7fa4ac8d7c19e47198ade6c4c7fa36479f"` [INFO] [stdout] c8350ef11c46fb8ccc9f30e052629f7fa4ac8d7c19e47198ade6c4c7fa36479f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/is_executable/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] f1d2bffbef38f99e19c24430e0077383863cdaf06632f2fe3f18a67101adb300 [INFO] running `"docker" "start" "-a" "f1d2bffbef38f99e19c24430e0077383863cdaf06632f2fe3f18a67101adb300"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/is_executable-f1cc84fd19853b27 [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] [stderr] Running /opt/crater/target/debug/deps/tests-a32058aa3f0ff4c4 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test non_existant ... ok [INFO] [stdout] test not_executable ... ok [INFO] [stdout] test unix::executable ... ok [INFO] [stdout] test unix::cargo_readme_up_to_date ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- unix::cargo_readme_up_to_date stdout ---- [INFO] [stdout] Checking that `cargo readme > README.md` is up to date... [INFO] [stdout] [INFO] [stdout] +++ expected README.md [INFO] [stdout] --- actual README.md [INFO] [stdout] -[![Build Status](https://travis-ci.org/fitzgen/is_executable.svg?branch=master)](https://travis-ci.org/fitzgen/is_executable) [INFO] [stdout] - [INFO] [stdout] -# is_executable [INFO] [stdout] - [INFO] [stdout] -Is there an executable file at the given path? [INFO] [stdout] - [INFO] [stdout] -[![](https://docs.rs/is_executable/badge.svg)](https://docs.rs/is_executable/) [![](http://meritbadge.herokuapp.com/is_executable) ![](https://img.shields.io/crates/d/is_executable.png)](https://crates.io/crates/is_executable) [![Unix Build Status](https://travis-ci.org/fitzgen/is_executable.png?branch=master)](https://travis-ci.org/fitzgen/is_executable) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/fitzgen/is_executable?branch=master&svg=true)](https://ci.appveyor.com/project/fitzgen/is-executable) [INFO] [stdout] - [INFO] [stdout] -A small helper function which determines whether or not the given path points to [INFO] [stdout] -an executable file. If there is no file at the given path, or the file is not [INFO] [stdout] -executable, then `false` is returned. When there is a file and the file is [INFO] [stdout] -executable, then `true` is returned. [INFO] [stdout] - [INFO] [stdout] -This crate works on both unix-based operating systems (mac, linux, freebsd, etc.) and Windows. [INFO] [stdout] - [INFO] [stdout] -The API comes in two flavors: [INFO] [stdout] - [INFO] [stdout] -1. An extension trait to add an `is_executable` method on `std::path::Path`: [INFO] [stdout] - [INFO] [stdout] - ```rust [INFO] [stdout] - use std::path::Path; [INFO] [stdout] - [INFO] [stdout] - use is_executable::IsExecutable; [INFO] [stdout] - [INFO] [stdout] - fn main() { [INFO] [stdout] - let path = Path::new("some/path/to/a/file"); [INFO] [stdout] - [INFO] [stdout] - // Determine if `path` is executable. [INFO] [stdout] - if path.is_executable() { [INFO] [stdout] - println!("The path is executable!"); [INFO] [stdout] - } else { [INFO] [stdout] - println!("The path is _not_ executable!"); [INFO] [stdout] - } [INFO] [stdout] - } [INFO] [stdout] - ``` [INFO] [stdout] - [INFO] [stdout] -2. For convenience, a standalone `is_executable` function, which takes any [INFO] [stdout] -`AsRef`: [INFO] [stdout] - [INFO] [stdout] - ```rust [INFO] [stdout] - use std::path::Path; [INFO] [stdout] - [INFO] [stdout] - use is_executable::is_executable; [INFO] [stdout] - [INFO] [stdout] - fn main() { [INFO] [stdout] - let path = Path::new("some/path/to/a/file"); [INFO] [stdout] - [INFO] [stdout] - // Determine if `path` is executable. [INFO] [stdout] - if is_executable(&path) { [INFO] [stdout] - println!("The path is executable!"); [INFO] [stdout] - } else { [INFO] [stdout] - println!("The path is _not_ executable!"); [INFO] [stdout] - } [INFO] [stdout] - } [INFO] [stdout] - ``` [INFO] [stdout] - [INFO] [stdout] -License: Apache-2.0/MIT [INFO] [stdout] - [INFO] [stdout] thread 'unix::cargo_readme_up_to_date' panicked at 'Run `cargo readme > README.md` to update README.md', tests/tests.rs:51:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5560ad5ad13b - backtrace::backtrace::libunwind::trace::h5dfa5d4c5feed6dc [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x5560ad5ad13b - backtrace::backtrace::trace_unsynchronized::hb731fe64f3fa469f [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5560ad5ad13b - std::sys_common::backtrace::_print::hf4fd45fe7ae4a250 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x5560ad5ad13b - std::sys_common::backtrace::print::h31646c3786c57441 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x5560ad5ad13b - std::panicking::default_hook::{{closure}}::hda785e768c746ae7 [INFO] [stdout] at src/libstd/panicking.rs:200 [INFO] [stdout] 5: 0x5560ad5acdaa - std::panicking::default_hook::h0c4b76f338614ef1 [INFO] [stdout] at src/libstd/panicking.rs:211 [INFO] [stdout] 6: 0x5560ad5ad8b0 - std::panicking::rust_panic_with_hook::h096dff2cb12b67ce [INFO] [stdout] at src/libstd/panicking.rs:477 [INFO] [stdout] 7: 0x5560ad544384 - std::panicking::begin_panic::h5a7149fa0f02c222 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panicking.rs:411 [INFO] [stdout] 8: 0x5560ad5485f7 - tests::unix::cargo_readme_up_to_date::h715ec58c5c2410ba [INFO] [stdout] at tests/tests.rs:51 [INFO] [stdout] 9: 0x5560ad547d5a - tests::unix::cargo_readme_up_to_date::{{closure}}::h8d06f51ac12acc90 [INFO] [stdout] at tests/tests.rs:16 [INFO] [stdout] 10: 0x5560ad54270e - core::ops::function::FnOnce::call_once::h07ee24538d120484 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libcore/ops/function.rs:231 [INFO] [stdout] 11: 0x5560ad554eef - as core::ops::function::FnOnce>::call_once::h9568fda2c3b99042 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/liballoc/boxed.rs:746 [INFO] [stdout] 12: 0x5560ad5b44ea - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:82 [INFO] [stdout] 13: 0x5560ad56f4e8 - std::panicking::try::h4b4c6c15836266eb [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panicking.rs:275 [INFO] [stdout] 14: 0x5560ad56f4e8 - std::panic::catch_unwind::h133691b514d0224c [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panic.rs:394 [INFO] [stdout] 15: 0x5560ad56f4e8 - test::run_test::run_test_inner::{{closure}}::h41355d9f207d71fe [INFO] [stdout] at src/libtest/lib.rs:1466 [INFO] [stdout] 16: 0x5560ad54a365 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7c86e4012abd2d40 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/sys_common/backtrace.rs:77 [INFO] [stdout] 17: 0x5560ad54e4e5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h2ba9d55fec0ea776 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/thread/mod.rs:470 [INFO] [stdout] 18: 0x5560ad54e4e5 - as core::ops::function::FnOnce<()>>::call_once::hdf89f4d89df3dda3 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panic.rs:315 [INFO] [stdout] 19: 0x5560ad54e4e5 - std::panicking::try::do_call::h59b39c89384b7a2f [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panicking.rs:296 [INFO] [stdout] 20: 0x5560ad5b44ea - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:82 [INFO] [stdout] 21: 0x5560ad54eb22 - std::panicking::try::h9fff34be50f16431 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panicking.rs:275 [INFO] [stdout] 22: 0x5560ad54eb22 - std::panic::catch_unwind::h7551856ff7c5e12a [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/panic.rs:394 [INFO] [stdout] 23: 0x5560ad54eb22 - std::thread::Builder::spawn_unchecked::{{closure}}::hafea48c774d796e7 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libstd/thread/mod.rs:469 [INFO] [stdout] 24: 0x5560ad54eb22 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he5fe7b84ce5a3830 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/libcore/ops/function.rs:231 [INFO] [stdout] 25: 0x5560ad5a1c0f - as core::ops::function::FnOnce>::call_once::h55ef432b72ff7a0b [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/liballoc/boxed.rs:746 [INFO] [stdout] 26: 0x5560ad5b3c40 - as core::ops::function::FnOnce>::call_once::h9294a5138530eae1 [INFO] [stdout] at /rustc/61d1607e0f6a18bb4897d6f9b10abeac9e11eb8e/src/liballoc/boxed.rs:746 [INFO] [stdout] 27: 0x5560ad5b3c40 - std::sys_common::thread::start_thread::h0d2733dd32c3723c [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 28: 0x5560ad5b3c40 - std::sys::unix::thread::Thread::new::thread_start::hf1005dad6ba8f2b1 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 29: 0x7fa9680044a4 - start_thread [INFO] [stdout] 30: 0x7fa967b2fd0f - __clone [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] unix::cargo_readme_up_to_date [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test tests' [INFO] running `"docker" "inspect" "f1d2bffbef38f99e19c24430e0077383863cdaf06632f2fe3f18a67101adb300"` [INFO] running `"docker" "rm" "-f" "f1d2bffbef38f99e19c24430e0077383863cdaf06632f2fe3f18a67101adb300"` [INFO] [stdout] f1d2bffbef38f99e19c24430e0077383863cdaf06632f2fe3f18a67101adb300