[INFO] cloning repository https://github.com/jabedude/ofiles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jabedude/ofiles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjabedude%2Fofiles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjabedude%2Fofiles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16e387df704f0b02bc30893cf4f818d59cae508a [INFO] testing jabedude/ofiles against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjabedude%2Fofiles" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jabedude/ofiles [INFO] finished tweaking git repo https://github.com/jabedude/ofiles [INFO] tweaked toml for git repo https://github.com/jabedude/ofiles written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jabedude/ofiles on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jabedude/ofiles already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded hermit-abi v0.1.11 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded error-chain v0.12.2 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded cc v1.0.52 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a [INFO] running `Command { std: "docker" "start" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling ofiles v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain::error_chain! { [INFO] [stdout] 35 | | foreign_links { [INFO] [stdout] 36 | | Io(::std::io::Error); [INFO] [stdout] 37 | | Nix(nix::Error); [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain::error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.99s [INFO] running `Command { std: "docker" "inspect" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain::error_chain! { [INFO] [stdout] 35 | | foreign_links { [INFO] [stdout] 36 | | Io(::std::io::Error); [INFO] [stdout] 37 | | Nix(nix::Error); [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain::error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ofiles v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / error_chain::error_chain! { [INFO] [stdout] 35 | | foreign_links { [INFO] [stdout] 36 | | Io(::std::io::Error); [INFO] [stdout] 37 | | Nix(nix::Error); [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain::error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_file` [INFO] [stdout] --> src/lib.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | let orig_file = File::create(orig).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sym_file` [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let sym_file = File::open(sym).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sym_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | std::fs::remove_file(orig); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 303 | let _ = std::fs::remove_file(orig); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | std::fs::remove_file(sym); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = std::fs::remove_file(sym); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 18.46s [INFO] running `Command { std: "docker" "inspect" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/lib.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / error_chain::error_chain! { [INFO] [stderr] 35 | | foreign_links { [INFO] [stderr] 36 | | Io(::std::io::Error); [INFO] [stderr] 37 | | Nix(nix::Error); [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain::error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ofiles` (lib) generated 1 warning [INFO] [stderr] warning: unused variable: `orig_file` [INFO] [stderr] --> src/lib.rs:305:17 [INFO] [stderr] | [INFO] [stderr] 305 | let orig_file = File::create(orig).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sym_file` [INFO] [stderr] --> src/lib.rs:309:13 [INFO] [stderr] | [INFO] [stderr] 309 | let sym_file = File::open(sym).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sym_file` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/lib.rs:303:13 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 7 tests [INFO] [stderr] 303 | std::fs::remove_file(orig); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stdout] test tests::test_inode_contained_in ... ok [INFO] [stderr] 303 | let _ = std::fs::remove_file(orig); [INFO] [stdout] test tests::test_directory_basic ... ok [INFO] [stderr] | +++++++ [INFO] [stdout] test tests::test_ofile_basic ... ok [INFO] [stderr] [INFO] [stdout] test tests::test_symlink_basic ... ok [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/lib.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | std::fs::remove_file(sym); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 304 | let _ = std::fs::remove_file(sym); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ofiles` (lib test) generated 5 warnings (1 duplicate) (run `cargo fix --lib -p ofiles --tests` to apply 2 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/ofiles-34ab982539a24341) [INFO] [stdout] test tests::test_directory_other_process ... ok [INFO] [stdout] test tests::test_file_other_process ... ok [INFO] [stdout] test tests::test_ofile_other_process_unix_socket ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] Doc-tests ofiles [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] running `Command { std: "docker" "inspect" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a", kill_on_drop: false }` [INFO] [stdout] 6abffdb8f1227efa0db416ee9c16f6b9392678e93b9e3fb39842795426ebcc9a