[INFO] fetching crate is_executable 0.1.2... [INFO] testing is_executable-0.1.2 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate is_executable 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate is_executable 0.1.2 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate is_executable 0.1.2 [INFO] finished tweaking crates.io crate is_executable 0.1.2 [INFO] tweaked toml for crates.io crate is_executable 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae32601e9dfc6725564964e1693ebc19f4a01f674c5aaef08ffea6fa57059b0 [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" "fae32601e9dfc6725564964e1693ebc19f4a01f674c5aaef08ffea6fa57059b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae32601e9dfc6725564964e1693ebc19f4a01f674c5aaef08ffea6fa57059b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae32601e9dfc6725564964e1693ebc19f4a01f674c5aaef08ffea6fa57059b0", kill_on_drop: false }` [INFO] [stdout] fae32601e9dfc6725564964e1693ebc19f4a01f674c5aaef08ffea6fa57059b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aaf0a9ca5aa881a6d9d9e87b4e9696b3f91e71262e0f847039bb687db08dc8df [INFO] running `Command { std: "docker" "start" "-a" "aaf0a9ca5aa881a6d9d9e87b4e9696b3f91e71262e0f847039bb687db08dc8df", kill_on_drop: false }` [INFO] [stderr] Compiling is_executable v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "aaf0a9ca5aa881a6d9d9e87b4e9696b3f91e71262e0f847039bb687db08dc8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf0a9ca5aa881a6d9d9e87b4e9696b3f91e71262e0f847039bb687db08dc8df", kill_on_drop: false }` [INFO] [stdout] aaf0a9ca5aa881a6d9d9e87b4e9696b3f91e71262e0f847039bb687db08dc8df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b65b7c476fbc6b65a89a31f256df22576f3f3614a7236a62f54afc36a06131c4 [INFO] running `Command { std: "docker" "start" "-a" "b65b7c476fbc6b65a89a31f256df22576f3f3614a7236a62f54afc36a06131c4", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling is_executable v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "b65b7c476fbc6b65a89a31f256df22576f3f3614a7236a62f54afc36a06131c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65b7c476fbc6b65a89a31f256df22576f3f3614a7236a62f54afc36a06131c4", kill_on_drop: false }` [INFO] [stdout] b65b7c476fbc6b65a89a31f256df22576f3f3614a7236a62f54afc36a06131c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69ae42fa08aa139911afe08afcd7ceb06ef4fb95a8319eb1e6d821d70b24f2d4 [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" "69ae42fa08aa139911afe08afcd7ceb06ef4fb95a8319eb1e6d821d70b24f2d4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/is_executable-2da487740544f70a [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tests-85ccda2a37f5b976 [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 4 tests [INFO] [stdout] test non_existant ... ok [INFO] [stdout] test unix::executable ... ok [INFO] [stdout] test not_executable ... ok [INFO] [stderr] error: test failed, to rerun pass '--test tests' [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: 0x559668f171a5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x559668f171a5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x559668f171a5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x559668f171a5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x559668f3ef1c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x559668eb7aa5 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x559668f11811 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x559668f19900 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x559668f19900 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x559668f19900 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x559668f195fa - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x559668f19f43 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x559668eb0ec5 - std::panicking::begin_panic::h9589f4133bb27a02 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:456 [INFO] [stdout] 13: 0x559668eb2e58 - tests::unix::cargo_readme_up_to_date::hf6e1a2311fefab3e [INFO] [stdout] at tests/tests.rs:51 [INFO] [stdout] 14: 0x559668eb25ca - tests::unix::cargo_readme_up_to_date::{{closure}}::hc595534f32f8a00b [INFO] [stdout] at tests/tests.rs:16 [INFO] [stdout] 15: 0x559668eae63e - core::ops::function::FnOnce::call_once::h596a7273a85856ab [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 16: 0x559668edf01c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 17: 0x559668edf01c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x559668edf01c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 19: 0x559668edf01c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 20: 0x559668edf01c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x559668edf01c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x559668edf01c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x559668eb6f96 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x559668ebbf85 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x559668ebbf85 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x559668ebbf85 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 27: 0x559668ebbf85 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 28: 0x559668ebbf85 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x559668ebbf85 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x559668ebbf85 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 31: 0x559668f2021a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 32: 0x559668f2021a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x559668f2021a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7fea3712d609 - start_thread [INFO] [stdout] 35: 0x7fea37039103 - __clone [INFO] [stdout] 36: 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] running `Command { std: "docker" "inspect" "69ae42fa08aa139911afe08afcd7ceb06ef4fb95a8319eb1e6d821d70b24f2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ae42fa08aa139911afe08afcd7ceb06ef4fb95a8319eb1e6d821d70b24f2d4", kill_on_drop: false }` [INFO] [stdout] 69ae42fa08aa139911afe08afcd7ceb06ef4fb95a8319eb1e6d821d70b24f2d4