[INFO] cloning repository https://github.com/krzyz/quantum-plots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krzyz/quantum-plots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzyz%2Fquantum-plots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzyz%2Fquantum-plots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4730259345c106cc56650b2f6a0a1e3cfe82886a [INFO] testing krzyz/quantum-plots against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzyz%2Fquantum-plots" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krzyz/quantum-plots on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krzyz/quantum-plots [INFO] finished tweaking git repo https://github.com/krzyz/quantum-plots [INFO] tweaked toml for git repo https://github.com/krzyz/quantum-plots written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/krzyz/quantum-plots already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb0aba2c1641871a0a374de900ed32946bd3eeb505a0b611ed94d639c5fb23a6 [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" "eb0aba2c1641871a0a374de900ed32946bd3eeb505a0b611ed94d639c5fb23a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb0aba2c1641871a0a374de900ed32946bd3eeb505a0b611ed94d639c5fb23a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0aba2c1641871a0a374de900ed32946bd3eeb505a0b611ed94d639c5fb23a6", kill_on_drop: false }` [INFO] [stdout] eb0aba2c1641871a0a374de900ed32946bd3eeb505a0b611ed94d639c5fb23a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] db5e9ca786511c226078541f8a62040852fc1c6c6a6659f112b1bc01511d9f74 [INFO] running `Command { std: "docker" "start" "-a" "db5e9ca786511c226078541f8a62040852fc1c6c6a6659f112b1bc01511d9f74", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.62 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.62 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling cmake v0.1.43 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Compiling rstest v0.6.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling font-kit v0.6.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.62 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.62 [INFO] [stderr] Compiling paste v0.1.12 [INFO] [stderr] Compiling simba v0.1.2 [INFO] [stderr] Compiling nalgebra v0.21.0 [INFO] [stderr] Compiling js-sys v0.3.39 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling web-sys v0.3.39 [INFO] [stderr] Compiling quantum-tools v0.1.0 (/opt/rustwide/workdir/quantum-tools) [INFO] [stderr] Compiling plotters-wasm v0.1.0 (/opt/rustwide/workdir/plotter-wasm) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CanvasBackend` [INFO] [stdout] --> plotter-wasm/src/lib.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let backend = CanvasBackend::new(canvas_id).expect("cannot find canvas"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CanvasBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CanvasBackend` in this scope [INFO] [stdout] --> plotter-wasm/src/lib.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chart { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | root: DrawingArea, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> plotter-wasm/src/utils.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> plotter-wasm/src/utils.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> plotter-wasm/src/func_plot.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | .x_label_area_size(30) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SizeDesc` found in the `plotters` crate: [INFO] [stdout] - impl SizeDesc for i32; [INFO] [stdout] - impl SizeDesc for u32; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> plotter-wasm/src/func_plot.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | .y_label_area_size(30) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SizeDesc` found in the `plotters` crate: [INFO] [stdout] - impl SizeDesc for i32; [INFO] [stdout] - impl SizeDesc for u32; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotters-wasm` due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db5e9ca786511c226078541f8a62040852fc1c6c6a6659f112b1bc01511d9f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5e9ca786511c226078541f8a62040852fc1c6c6a6659f112b1bc01511d9f74", kill_on_drop: false }` [INFO] [stdout] db5e9ca786511c226078541f8a62040852fc1c6c6a6659f112b1bc01511d9f74