[INFO] fetching crate cargo-tidy 0.1.0...
[INFO] testing cargo-tidy-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate cargo-tidy 0.1.0 into /workspace/builds/worker-1-tc2/source
[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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cargo-tidy 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.51)
[INFO] [stderr]       Adding env_logger v0.3.5 (available: v0.11.8)
[INFO] [stderr]       Adding glob v0.2.11 (available: v0.3.3)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.28)
[INFO] [stderr]       Adding regex v0.1.80 (available: v1.12.2)
[INFO] [stderr]       Adding toml v0.2.1 (available: v0.9.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9386f461af06c964266380457bb78eaaf87e57c8ee1b9ef9dd207964cf7c926
[INFO] running `Command { std: "docker" "start" "-a" "e9386f461af06c964266380457bb78eaaf87e57c8ee1b9ef9dd207964cf7c926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9386f461af06c964266380457bb78eaaf87e57c8ee1b9ef9dd207964cf7c926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9386f461af06c964266380457bb78eaaf87e57c8ee1b9ef9dd207964cf7c926", kill_on_drop: false }`
[INFO] [stdout] e9386f461af06c964266380457bb78eaaf87e57c8ee1b9ef9dd207964cf7c926
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c448afd372bdb7e249ef5d718e5f83f74a9a73e68fd87d21951fdf47f952a2d
[INFO] running `Command { std: "docker" "start" "-a" "1c448afd372bdb7e249ef5d718e5f83f74a9a73e68fd87d21951fdf47f952a2d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling memchr v0.1.11
[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.34.0
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling toml v0.2.1
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling cargo-tidy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[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] ...  |
[INFO] [stdout] 84 | |     },
[INFO] [stdout] 85 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error 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/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::<Result<Vec<_>, _>>())
[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 method `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 method `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 method `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 method `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] error[E0277]: the trait bound `RawConfig: Decodable` is not satisfied
[INFO] [stdout]    --> src/config.rs:189:35
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let raw: RawConfig = try!(decode_toml(&mut file));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Decodable` is not implemented for `RawConfig`
[INFO] [stdout]    --> src/config.rs:21:9
[INFO] [stdout]     |
[INFO] [stdout]  21 |           struct RawConfig {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 | / make_config! {
[INFO] [stdout] ...   |
[INFO] [stdout]  84 | |     },
[INFO] [stdout]  85 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = help: the following other types implement trait `Decodable`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 71 others
[INFO] [stdout] note: required by a bound in `decode_toml`
[INFO] [stdout]    --> src/config.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn decode_toml<T: Decodable, R: Read>(reader: &mut R) -> Result<T, LoadError> {
[INFO] [stdout]     |                   ^^^^^^^^^ required by this bound in `decode_toml`
[INFO] [stdout]     = note: this error originates in the macro `make_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-tidy` (bin "cargo-tidy") due to 2 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c448afd372bdb7e249ef5d718e5f83f74a9a73e68fd87d21951fdf47f952a2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c448afd372bdb7e249ef5d718e5f83f74a9a73e68fd87d21951fdf47f952a2d", kill_on_drop: false }`
[INFO] [stdout] 1c448afd372bdb7e249ef5d718e5f83f74a9a73e68fd87d21951fdf47f952a2d
