[INFO] fetching crate kas-gtk 0.0.2... [INFO] checking kas-gtk-0.0.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate kas-gtk 0.0.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate kas-gtk 0.0.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kas-gtk 0.0.2 [INFO] finished tweaking crates.io crate kas-gtk 0.0.2 [INFO] tweaked toml for crates.io crate kas-gtk 0.0.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kas-macros v0.0.2 [INFO] [stderr] Downloaded kas v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8313836ca57d87d48b942d09530a437e3ad5782b508deeb3cb601073c2f82c01 [INFO] running `Command { std: "docker" "start" "-a" "8313836ca57d87d48b942d09530a437e3ad5782b508deeb3cb601073c2f82c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8313836ca57d87d48b942d09530a437e3ad5782b508deeb3cb601073c2f82c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8313836ca57d87d48b942d09530a437e3ad5782b508deeb3cb601073c2f82c01", kill_on_drop: false }` [INFO] [stdout] 8313836ca57d87d48b942d09530a437e3ad5782b508deeb3cb601073c2f82c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9274e6c73a4ad9ecc9a03a97e78fb2fdbc3800eefb164c37bd0f24c4333e51c8 [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" "9274e6c73a4ad9ecc9a03a97e78fb2fdbc3800eefb164c37bd0f24c4333e51c8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking glib v0.6.1 [INFO] [stderr] Checking pango v0.5.0 [INFO] [stderr] Compiling kas-macros v0.0.2 [INFO] [stderr] Checking kas v0.0.2 [INFO] [stderr] Checking kas-gtk v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub win: Rc>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn clear_tkd(widget: &mut Widget) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Widget` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | where F: FnOnce(&mut kas::Window, &mut gtk::Window) -> T [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | fn add_widgets(gtk_widget: >k::Widget, widget: &mut Widget) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Widget` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn add_window(&mut self, win: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub win: Rc>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn add_rc(&self, win: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn clear_tkd(widget: &mut Widget) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Widget` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | where F: FnOnce(&mut kas::Window, &mut gtk::Window) -> T [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | fn add_widgets(gtk_widget: >k::Widget, widget: &mut Widget) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Widget` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/window.rs:184:57 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn add_window(&mut self, win: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn add_rc(&self, win: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn kas::Window` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_vec_new` [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_vec_new)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_vec_new` [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_vec_new)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kas-gtk` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9274e6c73a4ad9ecc9a03a97e78fb2fdbc3800eefb164c37bd0f24c4333e51c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9274e6c73a4ad9ecc9a03a97e78fb2fdbc3800eefb164c37bd0f24c4333e51c8", kill_on_drop: false }` [INFO] [stdout] 9274e6c73a4ad9ecc9a03a97e78fb2fdbc3800eefb164c37bd0f24c4333e51c8