[INFO] fetching crate barg 0.2.0... [INFO] testing barg-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate barg 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate barg 0.2.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 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-8/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] c1fd8b0047ac5df18cbd5652b4a44e137b5641676ce554ef60e2a0f6138e06c3 [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" "c1fd8b0047ac5df18cbd5652b4a44e137b5641676ce554ef60e2a0f6138e06c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1fd8b0047ac5df18cbd5652b4a44e137b5641676ce554ef60e2a0f6138e06c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1fd8b0047ac5df18cbd5652b4a44e137b5641676ce554ef60e2a0f6138e06c3", kill_on_drop: false }` [INFO] [stdout] c1fd8b0047ac5df18cbd5652b4a44e137b5641676ce554ef60e2a0f6138e06c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 92396b56f61b261c4314d580c73a34c252c200e44782c132fc7802f9e16382d8 [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" "92396b56f61b261c4314d580c73a34c252c200e44782c132fc7802f9e16382d8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling pix v0.6.1 [INFO] [stderr] Compiling window v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling sheep v0.2.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling png_pong v0.0.2 [INFO] [stderr] Compiling res v0.4.1 [INFO] [stderr] Compiling barg v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling png v0.10.0 [INFO] [stderr] Compiling footile v0.3.1 [INFO] [stderr] Compiling fonterator v0.4.2 [INFO] [stderr] Compiling rvg v0.0.2 [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | type Generator<'b> = dyn Fn( [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] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "92396b56f61b261c4314d580c73a34c252c200e44782c132fc7802f9e16382d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92396b56f61b261c4314d580c73a34c252c200e44782c132fc7802f9e16382d8", kill_on_drop: false }` [INFO] [stdout] 92396b56f61b261c4314d580c73a34c252c200e44782c132fc7802f9e16382d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 4601efbb5956cd07f3c73d297f574b0a9e578960d62e182acb0bdbd5b34d2c76 [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" "4601efbb5956cd07f3c73d297f574b0a9e578960d62e182acb0bdbd5b34d2c76", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | type Generator<'b> = dyn Fn( [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] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling png v0.14.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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | type Generator<'b> = dyn Fn( [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] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "4601efbb5956cd07f3c73d297f574b0a9e578960d62e182acb0bdbd5b34d2c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4601efbb5956cd07f3c73d297f574b0a9e578960d62e182acb0bdbd5b34d2c76", kill_on_drop: false }` [INFO] [stdout] 4601efbb5956cd07f3c73d297f574b0a9e578960d62e182acb0bdbd5b34d2c76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 23ad53e80659e5b9b7ef6ff335e05839c79762dc61b2349af0cabd089db156f9 [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" "23ad53e80659e5b9b7ef6ff335e05839c79762dc61b2349af0cabd089db156f9", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 1 test [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | type Generator<'b> = dyn Fn( [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: 1 warning emitted [INFO] [stderr] [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | type Generator<'b> = dyn Fn( [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: 1 warning emitted [INFO] [stderr] [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/barg-8b8ab6706f28feb4) [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Doc-tests barg [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [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[E0433]: failed to resolve: use of undeclared type `Widget` [INFO] [stdout] --> src/gui.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 20 | let header = gui.add(0x303030FF, Widget::Row); [INFO] [stdout] | ^^^^^^ use of undeclared type `Widget` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Widget` in this scope [INFO] [stdout] --> src/gui.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 3 | fn generator(row: usize) -> Option { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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] 7 | let mut gui = Gui::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use barg::Gui; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "23ad53e80659e5b9b7ef6ff335e05839c79762dc61b2349af0cabd089db156f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ad53e80659e5b9b7ef6ff335e05839c79762dc61b2349af0cabd089db156f9", kill_on_drop: false }` [INFO] [stdout] 23ad53e80659e5b9b7ef6ff335e05839c79762dc61b2349af0cabd089db156f9