[INFO] updating cached repository https://github.com/ASVBPREAUBV/rust-test [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 380ba3729714bc45075083fe72ba3df0263ba0b0 [INFO] testing ASVBPREAUBV/rust-test against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASVBPREAUBV%2Frust-test" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ASVBPREAUBV/rust-test on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/ASVBPREAUBV/rust-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8acb13d20c577b790b0bd1fdd30ef8925cb881644092dc85f56d72d9c4fe5903 [INFO] running `"docker" "start" "-a" "8acb13d20c577b790b0bd1fdd30ef8925cb881644092dc85f56d72d9c4fe5903"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.62 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.62 [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] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stderr] --> src/lib.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let document = web_sys::window().unwrap().document().unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stderr] --> src/lib.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | let canvas: web_sys::HtmlCanvasElement = canvas [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stderr] --> src/lib.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | .dyn_into::() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `web_sys` [INFO] [stderr] --> src/lib.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | .dyn_into::() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `web_sys` [INFO] [stderr] [INFO] [stderr] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stderr] --> src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use wasm_bindgen::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use wasm_bindgen::JsCast; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `rust-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8acb13d20c577b790b0bd1fdd30ef8925cb881644092dc85f56d72d9c4fe5903"` [INFO] running `"docker" "rm" "-f" "8acb13d20c577b790b0bd1fdd30ef8925cb881644092dc85f56d72d9c4fe5903"` [INFO] [stdout] 8acb13d20c577b790b0bd1fdd30ef8925cb881644092dc85f56d72d9c4fe5903