[INFO] fetching crate barg 0.2.0...
[INFO] testing barg-0.2.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate barg 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate barg 0.2.0
[INFO] finished tweaking crates.io crate barg 0.2.0
[INFO] tweaked toml for crates.io crate barg 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate barg 0.2.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 36 packages to latest compatible versions
[INFO] [stderr]       Adding fonterator v0.4.2 (available: v0.9.0)
[INFO] [stderr]       Adding png v0.14.1 (available: v0.18.0)
[INFO] [stderr]       Adding res v0.4.1 (available: v0.6.1)
[INFO] [stderr]       Adding rvg v0.0.2 (available: v0.2.0)
[INFO] [stderr]       Adding window v0.2.0 (available: v0.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9cd52ddaebe4cccfc9caaab4aeb8d36b2551ec06318010563e971e081f10484a
[INFO] running `Command { std: "docker" "start" "-a" "9cd52ddaebe4cccfc9caaab4aeb8d36b2551ec06318010563e971e081f10484a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cd52ddaebe4cccfc9caaab4aeb8d36b2551ec06318010563e971e081f10484a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cd52ddaebe4cccfc9caaab4aeb8d36b2551ec06318010563e971e081f10484a", kill_on_drop: false }`
[INFO] [stdout] 9cd52ddaebe4cccfc9caaab4aeb8d36b2551ec06318010563e971e081f10484a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 39ce819836f0f8f4e31bbf981c0bc5a9d2733809828f0084d7eedc1c44b1d0e1
[INFO] running `Command { std: "docker" "start" "-a" "39ce819836f0f8f4e31bbf981c0bc5a9d2733809828f0084d7eedc1c44b1d0e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pix v0.6.1
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling inflate v0.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling miniz_oxide v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling window v0.2.0
[INFO] [stderr]    Compiling png_pong v0.0.2
[INFO] [stderr]    Compiling png v0.10.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling footile v0.3.1
[INFO] [stderr]    Compiling rvg v0.0.2
[INFO] [stderr]    Compiling fonterator v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling sheep v0.2.1
[INFO] [stderr]    Compiling res v0.4.1
[INFO] [stderr]    Compiling barg v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |   type Generator<'b> = Fn(
[INFO] [stdout]   |  ______________________^
[INFO] [stdout] 6 | |             usize,
[INFO] [stdout] 7 | |             &mut [u8; 5],
[INFO] [stdout] 8 | |         )
[INFO] [stdout] 9 | |             -> &'b [(&'b [([u8; 4], &'b [PathOp])], &'b str)];
[INFO] [stdout]   | |_____________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) 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] 5 | type Generator<'b> = dyn Fn(
[INFO] [stdout]   |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.51s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: window v0.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "39ce819836f0f8f4e31bbf981c0bc5a9d2733809828f0084d7eedc1c44b1d0e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39ce819836f0f8f4e31bbf981c0bc5a9d2733809828f0084d7eedc1c44b1d0e1", kill_on_drop: false }`
[INFO] [stdout] 39ce819836f0f8f4e31bbf981c0bc5a9d2733809828f0084d7eedc1c44b1d0e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 01bef161415e66aaa3c3df20eba2c3482c45905438b13c9ba22ccd752a9617b4
[INFO] running `Command { std: "docker" "start" "-a" "01bef161415e66aaa3c3df20eba2c3482c45905438b13c9ba22ccd752a9617b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |   type Generator<'b> = Fn(
[INFO] [stdout]   |  ______________________^
[INFO] [stdout] 6 | |             usize,
[INFO] [stdout] 7 | |             &mut [u8; 5],
[INFO] [stdout] 8 | |         )
[INFO] [stdout] 9 | |             -> &'b [(&'b [([u8; 4], &'b [PathOp])], &'b str)];
[INFO] [stdout]   | |_____________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) 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] 5 | type Generator<'b> = dyn Fn(
[INFO] [stdout]   |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling png v0.14.1
[INFO] [stderr]    Compiling barg v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> examples/gui.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |     gui.head(&mut surface, &mut buffer, &|row, color| {
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/gui.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |   type Generator<'b> = Fn(
[INFO] [stdout]   |  ______________________^
[INFO] [stdout] 6 | |             usize,
[INFO] [stdout] 7 | |             &mut [u8; 5],
[INFO] [stdout] 8 | |         )
[INFO] [stdout] 9 | |             -> &'b [(&'b [([u8; 4], &'b [PathOp])], &'b str)];
[INFO] [stdout]   | |_____________________________________________________________^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) 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] 5 | type Generator<'b> = dyn Fn(
[INFO] [stdout]   |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: window v0.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "01bef161415e66aaa3c3df20eba2c3482c45905438b13c9ba22ccd752a9617b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01bef161415e66aaa3c3df20eba2c3482c45905438b13c9ba22ccd752a9617b4", kill_on_drop: false }`
[INFO] [stdout] 01bef161415e66aaa3c3df20eba2c3482c45905438b13c9ba22ccd752a9617b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9967834b255142c77d9716027f454621e61e11f0fa0bcd85f0529f44e930df5f
[INFO] running `Command { std: "docker" "start" "-a" "9967834b255142c77d9716027f454621e61e11f0fa0bcd85f0529f44e930df5f", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/gui.rs:5:22
[INFO] [stderr]   |
[INFO] [stderr] 5 |   type Generator<'b> = Fn(
[INFO] [stderr]   |  ______________________^
[INFO] [stderr] 6 | |             usize,
[INFO] [stderr] 7 | |             &mut [u8; 5],
[INFO] [stderr] 8 | |         )
[INFO] [stderr] 9 | |             -> &'b [(&'b [([u8; 4], &'b [PathOp])], &'b str)];
[INFO] [stderr]   | |_____________________________________________________________^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 5 | type Generator<'b> = dyn Fn(
[INFO] [stderr]   |                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: `barg` (lib) generated 1 warning (run `cargo fix --lib -p barg` to apply 1 suggestion)
[INFO] [stderr] warning: `barg` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: unused variable: `row`
[INFO] [stderr]   --> examples/gui.rs:34:43
[INFO] [stderr]    |
[INFO] [stderr] 34 |     gui.head(&mut surface, &mut buffer, &|row, color| {
[INFO] [stderr]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `barg` (example "gui") generated 1 warning (run `cargo fix --example "gui" -p barg` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: window v0.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/barg/c9f10cd58c0cb1db/deps/barg-c9f10cd58c0cb1db)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests barg
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/gui.rs - gui::Gui (line 42) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/gui.rs - gui::Gui (line 42) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Widget` in this scope
[INFO] [stdout]   --> src/gui.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generator(row: usize) -> Option<Widget> {
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generator<Widget>(row: usize) -> Option<Widget> {
[INFO] [stdout]    |             ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gui`
[INFO] [stdout]   --> src/gui.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 | let mut gui = Gui::new();
[INFO] [stdout]    |               ^^^ use of undeclared type `Gui`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 42 + use barg::Gui;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget`
[INFO] [stdout]   --> src/gui.rs:60:34
[INFO] [stdout]    |
[INFO] [stdout] 60 | let header = gui.add(0x303030FF, Widget::Row);
[INFO] [stdout]    |                                  ^^^^^^ use of undeclared type `Widget`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/gui.rs - gui::Gui (line 42)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9967834b255142c77d9716027f454621e61e11f0fa0bcd85f0529f44e930df5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9967834b255142c77d9716027f454621e61e11f0fa0bcd85f0529f44e930df5f", kill_on_drop: false }`
[INFO] [stdout] 9967834b255142c77d9716027f454621e61e11f0fa0bcd85f0529f44e930df5f
