[INFO] fetching crate cargo-tidy 0.1.0... [INFO] checking cargo-tidy-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate cargo-tidy 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cargo-tidy 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-tidy 0.1.0 [INFO] finished tweaking crates.io crate cargo-tidy 0.1.0 [INFO] tweaked toml for crates.io crate cargo-tidy 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] cffba68b91fcaf1f015cdee32f0aef8263a780b2c43aa1c161c716326c256e8b [INFO] running `Command { std: "docker" "start" "-a" "cffba68b91fcaf1f015cdee32f0aef8263a780b2c43aa1c161c716326c256e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cffba68b91fcaf1f015cdee32f0aef8263a780b2c43aa1c161c716326c256e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffba68b91fcaf1f015cdee32f0aef8263a780b2c43aa1c161c716326c256e8b", kill_on_drop: false }` [INFO] [stdout] cffba68b91fcaf1f015cdee32f0aef8263a780b2c43aa1c161c716326c256e8b [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=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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80c4f7b01d330088960dd24adb5893c800ba1092b6d358efe1e9732ec1f6a40c [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" "80c4f7b01d330088960dd24adb5893c800ba1092b6d358efe1e9732ec1f6a40c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking cargo-tidy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/check/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, "error at {}:{}:{}: {}", [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/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(raw.unwrap_or(vec!["**/*.rs".to_string()]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(raw.iter().map(|s| Pattern::new(s)).collect::, _>>()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | (try!(RegexSet::new(&raw)), raw) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | LoadError::IoError(ref e) => try!(write!(f, "IO error: {}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "syntax error:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(writeln!(f, "{}", e)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | LoadError::DecodeError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "unknown configuration key(s): {}", v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | LoadError::GlobError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | LoadError::RegexError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | try!(reader.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let value = try!(content.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let value = try!(T::decode(&mut decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let raw: RawConfig = try!(decode_toml(&mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(try!(Config::from_raw(raw))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/check/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, "error at {}:{}:{}: {}", [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/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(raw.unwrap_or(vec!["**/*.rs".to_string()]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(raw.iter().map(|s| Pattern::new(s)).collect::, _>>()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | (try!(RegexSet::new(&raw)), raw) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | LoadError::IoError(ref e) => try!(write!(f, "IO error: {}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "syntax error:")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | try!(writeln!(f, "{}", e)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:115:46 [INFO] [stdout] | [INFO] [stdout] 115 | LoadError::DecodeError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "unknown configuration key(s): {}", v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | LoadError::GlobError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | LoadError::RegexError(ref e) => try!(write!(f, "{}", e)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | try!(reader.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let value = try!(content.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let value = try!(T::decode(&mut decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let raw: RawConfig = try!(decode_toml(&mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(try!(Config::from_raw(raw))) [INFO] [stdout] | ^^^ [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/config.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | LoadError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | LoadError::DecodeError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | LoadError::GlobError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | LoadError::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | LoadError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [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/config.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | LoadError::DecodeError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | LoadError::GlobError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/config.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | LoadError::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.75s [INFO] running `Command { std: "docker" "inspect" "80c4f7b01d330088960dd24adb5893c800ba1092b6d358efe1e9732ec1f6a40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c4f7b01d330088960dd24adb5893c800ba1092b6d358efe1e9732ec1f6a40c", kill_on_drop: false }` [INFO] [stdout] 80c4f7b01d330088960dd24adb5893c800ba1092b6d358efe1e9732ec1f6a40c