[INFO] updating cached repository https://github.com/ASVBPREAUBV/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 380ba3729714bc45075083fe72ba3df0263ba0b0 [INFO] testing ASVBPREAUBV/rust-test against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASVBPREAUBV%2Frust-test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ASVBPREAUBV/rust-test on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ASVBPREAUBV/rust-test [INFO] finished tweaking git repo https://github.com/ASVBPREAUBV/rust-test [INFO] tweaked toml for git repo https://github.com/ASVBPREAUBV/rust-test written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ASVBPREAUBV/rust-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1416704d783fc642e0cd7278f03ed183b6c710b3c426db87a7ef2515e76525e6 [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" "1416704d783fc642e0cd7278f03ed183b6c710b3c426db87a7ef2515e76525e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1416704d783fc642e0cd7278f03ed183b6c710b3c426db87a7ef2515e76525e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1416704d783fc642e0cd7278f03ed183b6c710b3c426db87a7ef2515e76525e6", kill_on_drop: false }` [INFO] [stdout] 1416704d783fc642e0cd7278f03ed183b6c710b3c426db87a7ef2515e76525e6 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", 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] bd749fa0e4672eb9da34ce5130dd851f114b3f6eaf696051ec0ff7a703f8908c [INFO] running `Command { std: "docker" "start" "-a" "bd749fa0e4672eb9da34ce5130dd851f114b3f6eaf696051ec0ff7a703f8908c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.62 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.62 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.62 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.62 [INFO] [stderr] Compiling rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let canvas: web_sys::HtmlCanvasElement = canvas [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stdout] --> src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stdout] --> src/lib.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bd749fa0e4672eb9da34ce5130dd851f114b3f6eaf696051ec0ff7a703f8908c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd749fa0e4672eb9da34ce5130dd851f114b3f6eaf696051ec0ff7a703f8908c", kill_on_drop: false }` [INFO] [stdout] bd749fa0e4672eb9da34ce5130dd851f114b3f6eaf696051ec0ff7a703f8908c