[INFO] fetching crate gitignore 1.0.6... [INFO] checking gitignore-1.0.6 against try#ffa4a0215752773248fb0f0a8092f1c3e7907e9e for pr-75585 [INFO] extracting crate gitignore 1.0.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gitignore 1.0.6 on toolchain ffa4a0215752773248fb0f0a8092f1c3e7907e9e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gitignore 1.0.6 [INFO] finished tweaking crates.io crate gitignore 1.0.6 [INFO] tweaked toml for crates.io crate gitignore 1.0.6 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5753ddbacb28fe15e1a5d1a09def0acfa0c94191cfc0ae949259c05502d9847e [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" "5753ddbacb28fe15e1a5d1a09def0acfa0c94191cfc0ae949259c05502d9847e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5753ddbacb28fe15e1a5d1a09def0acfa0c94191cfc0ae949259c05502d9847e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5753ddbacb28fe15e1a5d1a09def0acfa0c94191cfc0ae949259c05502d9847e", kill_on_drop: false }` [INFO] [stdout] 5753ddbacb28fe15e1a5d1a09def0acfa0c94191cfc0ae949259c05502d9847e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "check" "--frozen" "--all" "--all-targets" "--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] 0efffaa144382a191798995b5e4427f2c767f4309b84a5fd69c9d0ffd297ea63 [INFO] running `Command { std: "docker" "start" "-a" "0efffaa144382a191798995b5e4427f2c767f4309b84a5fd69c9d0ffd297ea63", kill_on_drop: false }` [INFO] [stderr] Checking gitignore v1.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let patterns = try!(File::patterns(gitignore_path, root)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let entries = try!(fs::read_dir(root)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let path = try!(entry).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | if matches.is_err() || try!(matches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | if !metadata.is_err() && try!(metadata).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let directory = try!(fs::metadata(&abs_path)).is_dir(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pattern.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let pattern = try!(glob::Pattern::new(&abs_pattern)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | ErrorCause::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | ErrorCause::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/pattern.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | parsed_pattern = parsed_pattern.trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let patterns = try!(File::patterns(gitignore_path, root)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let entries = try!(fs::read_dir(root)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let path = try!(entry).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | if matches.is_err() || try!(matches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | if !metadata.is_err() && try!(metadata).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let directory = try!(fs::metadata(&abs_path)).is_dir(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pattern.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let pattern = try!(glob::Pattern::new(&abs_pattern)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | ErrorCause::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | ErrorCause::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/pattern.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | parsed_pattern = parsed_pattern.trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "0efffaa144382a191798995b5e4427f2c767f4309b84a5fd69c9d0ffd297ea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efffaa144382a191798995b5e4427f2c767f4309b84a5fd69c9d0ffd297ea63", kill_on_drop: false }` [INFO] [stdout] 0efffaa144382a191798995b5e4427f2c767f4309b84a5fd69c9d0ffd297ea63