[INFO] cloning repository https://github.com/Stovoy/Sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stovoy/Sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStovoy%2FSandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStovoy%2FSandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b2b788841000a9de99cce7028ba9a08e9bbc0ed [INFO] testing Stovoy/Sandbox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStovoy%2FSandbox" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Stovoy/Sandbox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Stovoy/Sandbox [INFO] finished tweaking git repo https://github.com/Stovoy/Sandbox [INFO] tweaked toml for git repo https://github.com/Stovoy/Sandbox written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Stovoy/Sandbox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91819586b7990dd9315f151011602c79abf81182e34464105e8c7a39d27c2dd2 [INFO] running `Command { std: "docker" "start" "-a" "91819586b7990dd9315f151011602c79abf81182e34464105e8c7a39d27c2dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91819586b7990dd9315f151011602c79abf81182e34464105e8c7a39d27c2dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91819586b7990dd9315f151011602c79abf81182e34464105e8c7a39d27c2dd2", kill_on_drop: false }` [INFO] [stdout] 91819586b7990dd9315f151011602c79abf81182e34464105e8c7a39d27c2dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef94691f811e1c3242476e5f30d9d72816bc175eefd9640abed0306490241b4 [INFO] running `Command { std: "docker" "start" "-a" "fef94691f811e1c3242476e5f30d9d72816bc175eefd9640abed0306490241b4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wasmparser v0.59.0 [INFO] [stderr] Compiling colors-transform v0.2.11 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rhai v0.15.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling walrus-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Compiling walrus v0.18.0 [INFO] [stderr] Compiling js-sys v0.3.45 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.45 [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let mut view = WorldView { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_energy` [INFO] [stdout] --> src/engine.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn with_energy(&self, energy: f32) -> Particle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_extra` [INFO] [stdout] --> src/engine.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn new_extra(&self) -> Particle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rgb` [INFO] [stdout] --> src/engine.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn to_rgb(&self) -> Rgb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/engine.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn update(&mut self, kind: Kind) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 27.10s [INFO] running `Command { std: "docker" "inspect" "fef94691f811e1c3242476e5f30d9d72816bc175eefd9640abed0306490241b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef94691f811e1c3242476e5f30d9d72816bc175eefd9640abed0306490241b4", kill_on_drop: false }` [INFO] [stdout] fef94691f811e1c3242476e5f30d9d72816bc175eefd9640abed0306490241b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be19046d958f752296370c821d0fffd07db720a385de2f9fd9c2ec224700a5a [INFO] running `Command { std: "docker" "start" "-a" "0be19046d958f752296370c821d0fffd07db720a385de2f9fd9c2ec224700a5a", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.18 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.18 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let mut view = WorldView { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_energy` [INFO] [stdout] --> src/engine.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn with_energy(&self, energy: f32) -> Particle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_extra` [INFO] [stdout] --> src/engine.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn new_extra(&self) -> Particle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rgb` [INFO] [stdout] --> src/engine.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn to_rgb(&self) -> Rgb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/engine.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn update(&mut self, kind: Kind) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `map` exists for struct `JsFuture`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/app.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|x| { [INFO] [stdout] | ^^^ method cannot be called on `JsFuture` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-futures-0.4.18/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct JsFuture { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `JsFuture: futures::Future` [INFO] [stdout] | doesn't satisfy `JsFuture: futures::Stream` [INFO] [stdout] | doesn't satisfy `JsFuture: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JsFuture: futures::Future` [INFO] [stdout] which is required by `&mut JsFuture: futures::Future` [INFO] [stdout] `JsFuture: futures::Stream` [INFO] [stdout] which is required by `&mut JsFuture: futures::Stream` [INFO] [stdout] `JsFuture: std::iter::Iterator` [INFO] [stdout] which is required by `&mut JsFuture: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/app.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | let promise = js_sys::Promise::resolve(&JsValue::from(42)); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `JsValue: From<{integer}>` found in the `wasm_bindgen` crate: [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] and 2 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures::Future` is not a future [INFO] [stdout] --> tests/app.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures::Future` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `impl futures::Future` [INFO] [stdout] = note: impl futures::Future must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-test-0.3.18/src/rt/mod.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sandbox` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let mut view = WorldView { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_energy` [INFO] [stdout] --> src/engine.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn with_energy(&self, energy: f32) -> Particle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_extra` [INFO] [stdout] --> src/engine.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn new_extra(&self) -> Particle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rgb` [INFO] [stdout] --> src/engine.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn to_rgb(&self) -> Rgb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/engine.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn update(&mut self, kind: Kind) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0be19046d958f752296370c821d0fffd07db720a385de2f9fd9c2ec224700a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be19046d958f752296370c821d0fffd07db720a385de2f9fd9c2ec224700a5a", kill_on_drop: false }` [INFO] [stdout] 0be19046d958f752296370c821d0fffd07db720a385de2f9fd9c2ec224700a5a