[INFO] fetching crate cargo-tidy 0.1.0... [INFO] testing cargo-tidy-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate cargo-tidy 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cargo-tidy 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64d6894c059135cb2fb33d69895ee8d937cfe92620ae21584d1eee379784fbdd [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" "64d6894c059135cb2fb33d69895ee8d937cfe92620ae21584d1eee379784fbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64d6894c059135cb2fb33d69895ee8d937cfe92620ae21584d1eee379784fbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d6894c059135cb2fb33d69895ee8d937cfe92620ae21584d1eee379784fbdd", kill_on_drop: false }` [INFO] [stdout] 64d6894c059135cb2fb33d69895ee8d937cfe92620ae21584d1eee379784fbdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1efaddca966c15cce668f0534012216ec190d98135cf00d7fdc3b1c45ac7deed [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" "1efaddca966c15cce668f0534012216ec190d98135cf00d7fdc3b1c45ac7deed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling 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 `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / make_config! { [INFO] [stdout] 46 | | // List of file globs to check. [INFO] [stdout] 47 | | // [INFO] [stdout] 48 | | // Default: `vec!["**/*.rs"]`, which checks all .rs-files in all directories but nothing else. [INFO] [stdout] ... | [INFO] [stdout] 84 | | }, [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_config` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.99s [INFO] running `Command { std: "docker" "inspect" "1efaddca966c15cce668f0534012216ec190d98135cf00d7fdc3b1c45ac7deed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efaddca966c15cce668f0534012216ec190d98135cf00d7fdc3b1c45ac7deed", kill_on_drop: false }` [INFO] [stdout] 1efaddca966c15cce668f0534012216ec190d98135cf00d7fdc3b1c45ac7deed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84c7c29b806efc6c10cdc6fe6f6a634c841c481c8cbd06930284d9e612a9a3a [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" "a84c7c29b806efc6c10cdc6fe6f6a634c841c481c8cbd06930284d9e612a9a3a", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / make_config! { [INFO] [stdout] 46 | | // List of file globs to check. [INFO] [stdout] 47 | | // [INFO] [stdout] 48 | | // Default: `vec!["**/*.rs"]`, which checks all .rs-files in all directories but nothing else. [INFO] [stdout] ... | [INFO] [stdout] 84 | | }, [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_config` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a84c7c29b806efc6c10cdc6fe6f6a634c841c481c8cbd06930284d9e612a9a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84c7c29b806efc6c10cdc6fe6f6a634c841c481c8cbd06930284d9e612a9a3a", kill_on_drop: false }` [INFO] [stdout] a84c7c29b806efc6c10cdc6fe6f6a634c841c481c8cbd06930284d9e612a9a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6fd06aac894432b72be618c627e9ae1885b51dc657d9ed839b78a438ed396725 [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" "6fd06aac894432b72be618c627e9ae1885b51dc657d9ed839b78a438ed396725", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/check/mod.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | try!(write!(f, "error at {}:{}:{}: {}", [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/config.rs:20:18 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | / make_config! { [INFO] [stderr] 46 | | // List of file globs to check. [INFO] [stderr] 47 | | // [INFO] [stderr] 48 | | // Default: `vec!["**/*.rs"]`, which checks all .rs-files in all directories but nothing else. [INFO] [stderr] ... | [INFO] [stderr] 84 | | }, [INFO] [stderr] 85 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `make_config` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | try!(raw.unwrap_or(vec!["**/*.rs".to_string()]) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | try!(raw.iter().map(|s| Pattern::new(s)).collect::, _>>()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | (try!(RegexSet::new(&raw)), raw) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:108:42 [INFO] [stderr] | [INFO] [stderr] 108 | LoadError::IoError(ref e) => try!(write!(f, "IO error: {}", e)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | try!(writeln!(f, "syntax error:")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | try!(writeln!(f, "{}", e)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:115:46 [INFO] [stderr] | [INFO] [stderr] 115 | LoadError::DecodeError(ref e) => try!(write!(f, "{}", e)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | try!(write!(f, "unknown configuration key(s): {}", v)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:118:44 [INFO] [stderr] | [INFO] [stderr] 118 | LoadError::GlobError(ref e) => try!(write!(f, "{}", e)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:119:45 [INFO] [stderr] | [INFO] [stderr] 119 | LoadError::RegexError(ref e) => try!(write!(f, "{}", e)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | try!(reader.read_to_string(&mut content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | let value = try!(content.parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:176:17 [INFO] [stderr] | [INFO] [stderr] 176 | let value = try!(T::decode(&mut decoder)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:188:24 [INFO] [stderr] | [INFO] [stderr] 188 | let mut file = try!(File::open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:189:30 [INFO] [stderr] | [INFO] [stderr] 189 | let raw: RawConfig = try!(decode_toml(&mut file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/config.rs:191:12 [INFO] [stderr] | [INFO] [stderr] 191 | Ok(try!(Config::from_raw(raw))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:129:44 [INFO] [stderr] | [INFO] [stderr] 129 | LoadError::IoError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:131:48 [INFO] [stderr] | [INFO] [stderr] 131 | LoadError::DecodeError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | LoadError::GlobError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:134:47 [INFO] [stderr] | [INFO] [stderr] 134 | LoadError::RegexError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 22 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_tidy-beaf25b081ebeea0) [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" "6fd06aac894432b72be618c627e9ae1885b51dc657d9ed839b78a438ed396725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd06aac894432b72be618c627e9ae1885b51dc657d9ed839b78a438ed396725", kill_on_drop: false }` [INFO] [stdout] 6fd06aac894432b72be618c627e9ae1885b51dc657d9ed839b78a438ed396725