[INFO] fetching crate cargo-pkgbuild 0.1.1...
[INFO] testing cargo-pkgbuild-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate cargo-pkgbuild 0.1.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate cargo-pkgbuild 0.1.1
[INFO] finished tweaking crates.io crate cargo-pkgbuild 0.1.1
[INFO] tweaked toml for crates.io crate cargo-pkgbuild 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cargo-pkgbuild 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] [stderr]       Adding toml v0.1.30 (available: v0.9.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded toml v0.1.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50620c7b819ef267ab55b91fd300c733211ca7ff2e44444a496028a78577271d
[INFO] running `Command { std: "docker" "start" "-a" "50620c7b819ef267ab55b91fd300c733211ca7ff2e44444a496028a78577271d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50620c7b819ef267ab55b91fd300c733211ca7ff2e44444a496028a78577271d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50620c7b819ef267ab55b91fd300c733211ca7ff2e44444a496028a78577271d", kill_on_drop: false }`
[INFO] [stdout] 50620c7b819ef267ab55b91fd300c733211ca7ff2e44444a496028a78577271d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b54d3adf7d61027b4c87cdc114eafa51a80629ee5c4da0c9d6de92ba761e5f6f
[INFO] running `Command { std: "docker" "start" "-a" "b54d3adf7d61027b4c87cdc114eafa51a80629ee5c4da0c9d6de92ba761e5f6f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling toml v0.1.30
[INFO] [stderr]    Compiling cargo-pkgbuild v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]   --> src/main.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(RustcDecodable, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]   --> src/main.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(RustcDecodable, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]   --> src/main.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(RustcDecodable, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     try!(writeln!(output, "pkgname={}", manifest.package.name));
[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/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     try!(writeln!(output, "pkgver={}", manifest.package.version));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     try!(writeln!(output, "pkgrel=1"));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     try!(writeln!(output, "makedepends=('rust' 'cargo')"));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     try!(writeln!(output, "arch=('i686' 'x86_64' 'armv6h' 'armv7h')"));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     try!(write!(output, r#"
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         try!(writeln!(output, "# Maintainer: {}", author));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         try!(writeln!(output, "pkgdesc=\"{}\"", desc.chars().flat_map(char::escape_default).collect::<String>()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         try!(writeln!(output, "url=\"{}\"", url));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         try!(writeln!(output, "license=('{}')", license));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         try!(write!(output, r#"
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         try!(write!(output, r#"
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:48:53
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn generate_pkgbuild(manifest: &Cargo, output: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn generate_pkgbuild(manifest: &Cargo, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CargoLocation: Decodable` is not satisfied
[INFO] [stdout]    --> src/main.rs:34:20
[INFO] [stdout]     |
[INFO] [stdout]  34 |     json::decode::<CargoLocation>(&String::from_utf8(output.stdout).unwrap()).unwrap().root.into()
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Decodable` is not implemented for `CargoLocation`
[INFO] [stdout]    --> src/main.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout]  28 | struct CargoLocation {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[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 `rustc_serialize::json::decode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub fn decode<T: ::Decodable>(s: &str) -> DecodeResult<T> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Cargo: Decodable` is not satisfied
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             toml::decode_str(&buf).unwrap()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decodable` is not implemented for `Cargo`
[INFO] [stdout]   --> src/main.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Cargo {
[INFO] [stdout]    | ^^^^^^^^^^^^
[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_str`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.1.30/src/decoder/mod.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn decode_str<T: ::rustc_serialize::Decodable>(s: &str) -> Option<T> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_str`
[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-pkgbuild` (bin "cargo-pkgbuild") due to 5 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b54d3adf7d61027b4c87cdc114eafa51a80629ee5c4da0c9d6de92ba761e5f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b54d3adf7d61027b4c87cdc114eafa51a80629ee5c4da0c9d6de92ba761e5f6f", kill_on_drop: false }`
[INFO] [stdout] b54d3adf7d61027b4c87cdc114eafa51a80629ee5c4da0c9d6de92ba761e5f6f
