[INFO] cloning repository https://github.com/hpbrewton/regyrabit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hpbrewton/regyrabit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpbrewton%2Fregyrabit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpbrewton%2Fregyrabit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3000b5645b9e46d6db14db597ae730f9cc566599 [INFO] checking hpbrewton/regyrabit against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpbrewton%2Fregyrabit" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpbrewton/regyrabit on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hpbrewton/regyrabit [INFO] finished tweaking git repo https://github.com/hpbrewton/regyrabit [INFO] tweaked toml for git repo https://github.com/hpbrewton/regyrabit written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/hpbrewton/regyrabit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] 3f85e9dfc6ce00b99b34475470c18a6b7ea40df54642e75edd8e812ebfb0f8a2 [INFO] running `Command { std: "docker" "start" "-a" "3f85e9dfc6ce00b99b34475470c18a6b7ea40df54642e75edd8e812ebfb0f8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f85e9dfc6ce00b99b34475470c18a6b7ea40df54642e75edd8e812ebfb0f8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f85e9dfc6ce00b99b34475470c18a6b7ea40df54642e75edd8e812ebfb0f8a2", kill_on_drop: false }` [INFO] [stdout] 3f85e9dfc6ce00b99b34475470c18a6b7ea40df54642e75edd8e812ebfb0f8a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 821a4dfa4800bca0f8715b7562ebe19afb78dd2004a72c7ef2679c63a3709345 [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" "821a4dfa4800bca0f8715b7562ebe19afb78dd2004a72c7ef2679c63a3709345", kill_on_drop: false }` [INFO] [stderr] Checking sched v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | fn schedule(&mut self, ticker: ticker::Ticker); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | queue: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | fn schedule(&mut self, ticker: ticker::Ticker); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | queue: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ticker::Ticker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | rr.schedule(ticker::SimpleTicker{ [INFO] [stdout] | _____________________^ [INFO] [stdout] 10 | | count: 5 [INFO] [stdout] 11 | | }) [INFO] [stdout] | |_________^ expected trait object `dyn ticker::Ticker`, found struct `ticker::SimpleTicker` [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn ticker::Ticker + 'static)` [INFO] [stdout] found struct `ticker::SimpleTicker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scheduler.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^----------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected trait object `dyn ticker::Ticker`, found `&mut _` [INFO] [stdout] | help: did you mean `ticker`: `&(dyn ticker::Ticker + 'static)` [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn ticker::Ticker + 'static)` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ticker::Ticker + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/scheduler.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn ticker::Ticker + 'static)` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: &ticker::Ticker) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0033]: type `*mut dyn ticker::Ticker` cannot be dereferenced [INFO] [stdout] --> src/scheduler.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let &mut ticker = Box::into_raw(opt_box_ticker.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ type `*mut dyn ticker::Ticker` cannot be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0033, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0033`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sched`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | rr.schedule(ticker::SimpleTicker{ [INFO] [stdout] | _____________________^ [INFO] [stdout] 10 | | count: 5 [INFO] [stdout] 11 | | }) [INFO] [stdout] | |_________^ expected trait object `dyn ticker::Ticker`, found struct `ticker::SimpleTicker` [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn ticker::Ticker + 'static)` [INFO] [stdout] found struct `ticker::SimpleTicker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scheduler.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^----------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected trait object `dyn ticker::Ticker`, found `&mut _` [INFO] [stdout] | help: did you mean `ticker`: `&(dyn ticker::Ticker + 'static)` [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn ticker::Ticker + 'static)` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ticker::Ticker + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/scheduler.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: ticker::Ticker) { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn ticker::Ticker + 'static)` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 19 | fn schedule(&mut self, &mut ticker: &ticker::Ticker) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0033]: type `*mut dyn ticker::Ticker` cannot be dereferenced [INFO] [stdout] --> src/scheduler.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let &mut ticker = Box::into_raw(opt_box_ticker.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ type `*mut dyn ticker::Ticker` cannot be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0033, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0033`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "821a4dfa4800bca0f8715b7562ebe19afb78dd2004a72c7ef2679c63a3709345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821a4dfa4800bca0f8715b7562ebe19afb78dd2004a72c7ef2679c63a3709345", kill_on_drop: false }` [INFO] [stdout] 821a4dfa4800bca0f8715b7562ebe19afb78dd2004a72c7ef2679c63a3709345