[INFO] fetching crate beamplot 0.1.1... [INFO] testing beamplot-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate beamplot 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate beamplot 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate beamplot 0.1.1 [INFO] tweaked toml for crates.io crate beamplot 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate beamplot 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate beamplot 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded beambook v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65d3076d72506a15fab66cad8bc4fa742a2f861f5831f8bc8e0d98ffa74cd81f [INFO] running `Command { std: "docker" "start" "-a" "65d3076d72506a15fab66cad8bc4fa742a2f861f5831f8bc8e0d98ffa74cd81f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65d3076d72506a15fab66cad8bc4fa742a2f861f5831f8bc8e0d98ffa74cd81f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d3076d72506a15fab66cad8bc4fa742a2f861f5831f8bc8e0d98ffa74cd81f", kill_on_drop: false }` [INFO] [stdout] 65d3076d72506a15fab66cad8bc4fa742a2f861f5831f8bc8e0d98ffa74cd81f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 844691bc8d6dbef128d56185625a0941100aab712fa7bb53c3d1261162410a3d [INFO] running `Command { std: "docker" "start" "-a" "844691bc8d6dbef128d56185625a0941100aab712fa7bb53c3d1261162410a3d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling beambook v0.1.1 [INFO] [stderr] Compiling beamplot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `flip` [INFO] [stdout] --> src/plot.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | delta:f64,flip:bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_contains` is never used [INFO] [stdout] --> src/clip.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn segment_contains(p0:Point,p1:Point,p:Point,tol:f64)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/text.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ParseError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.19s [INFO] running `Command { std: "docker" "inspect" "844691bc8d6dbef128d56185625a0941100aab712fa7bb53c3d1261162410a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844691bc8d6dbef128d56185625a0941100aab712fa7bb53c3d1261162410a3d", kill_on_drop: false }` [INFO] [stdout] 844691bc8d6dbef128d56185625a0941100aab712fa7bb53c3d1261162410a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b3cd4a2bed821e21455c5b89ca6533164a8236c2ea428867b086032ba9c23ebf [INFO] running `Command { std: "docker" "start" "-a" "b3cd4a2bed821e21455c5b89ca6533164a8236c2ea428867b086032ba9c23ebf", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stdout] warning: unused variable: `flip` [INFO] [stdout] --> src/plot.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | delta:f64,flip:bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_contains` is never used [INFO] [stdout] --> src/clip.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn segment_contains(p0:Point,p1:Point,p:Point,tol:f64)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/text.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ParseError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling beamplot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/averaging_kernels.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | ruler(&font,size,origin,p1,true,false,&ticks_y).plot(&mut pl); [INFO] [stdout] | ^^^^^ ---- argument #2 of type `Color` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ruler(font:&Font, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 41 - ruler(&font,size,origin,p1,true,false,&ticks_y).plot(&mut pl); [INFO] [stdout] 41 + ruler(&font, /* Color */, size, p1, origin, false, true, &ticks_y).plot(&mut pl); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/averaging_kernels.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ruler(&font,size,p1,p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] | ^^^^^ ---- argument #2 of type `Color` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ruler(font:&Font, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 - ruler(&font,size,p1,p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] 42 + ruler(&font, /* Color */, size, p2, p1, true, false, &ticks_x).plot(&mut pl); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rectangle` in this scope [INFO] [stdout] --> src/clip.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | let r = rectangle(point(x0,y0),point(x1,y1)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use beambook::rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if x0*x1 < 0.0 { pl.line(0x888,origin+x_map.inverse(0.0)*point(1.0,0.0),origin+p1+x_map.inverse(0.0)*point(1.0,0.0)); } [INFO] [stdout] | ---- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn line(&mut self,color:Color,p1:Point,p2:Point) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | pl.rectangle(0xfff,rectangle(origin,p2)); [INFO] [stdout] | --------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn rectangle(&mut self,color:Color,Rectangle{ a:p0,b:p1 }:Rectangle) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | g(&mut f1,0xf00); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | g(&mut f2,0x0f0); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | g(&mut f3,0x0ff); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | bottom_align(&text_lines(&font, size, 0xfff, &["T"]).rc()).transformed(&Homography::translation(origin)).plot(&mut pl); [INFO] [stdout] | ---------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn text_lines(font:&Font,size:f64,color:Color,text:&[&str])->Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | if x0*x1 < 0.0 { pl.line(0x888,origin+x_map.inverse(0.0)*point(1.0,0.0),origin+p1+x_map.inverse(0.0)*point(1.0,0.0)); } [INFO] [stdout] | ---- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn line(&mut self,color:Color,p1:Point,p2:Point) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pl.rectangle(0xfff,rectangle(origin,origin+p2)); [INFO] [stdout] | --------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn rectangle(&mut self,color:Color,Rectangle{ a:p0,b:p1 }:Rectangle) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | g(&mut f1,0xf00); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | g(&mut f2,0x0f0); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | g(&mut f3,0x0ff); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/averaging_kernels.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | ruler(&font,size,origin+p1,origin+p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] | ^^^^^ ---- argument #2 of type `Color` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ruler(font:&Font, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 93 - ruler(&font,size,origin+p1,origin+p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] 93 + ruler(&font, /* Color */, size, origin+p2, origin+p1, true, false, &ticks_x).plot(&mut pl); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | bottom_align(&text_lines(&font, size, 0xfff, &["H_2O"]).rc()).transformed(&Homography::translation(origin)).plot(&mut pl); [INFO] [stdout] | ---------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn text_lines(font:&Font,size:f64,color:Color,text:&[&str])->Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | if x0*x1 < 0.0 { pl.line(0x888,origin+x_map.inverse(0.0)*point(1.0,0.0),origin+p1+x_map.inverse(0.0)*point(1.0,0.0)); } [INFO] [stdout] | ---- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn line(&mut self,color:Color,p1:Point,p2:Point) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | pl.rectangle(0xfff,rectangle(origin,origin + p2)); [INFO] [stdout] | --------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/beambook-0.1.1/src/lib.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn rectangle(&mut self,color:Color,Rectangle{ a:p0,b:p1 }:Rectangle) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | g(&mut f1,0xf00); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | g(&mut f2,0x0f0); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | g(&mut f3,0x0ff); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | g(&mut f4,0xff0); [INFO] [stdout] | - ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> examples/averaging_kernels.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g = |f:&mut dyn Fn(f64)->f64,color:Color| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> examples/averaging_kernels.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | ruler(&font,size,origin+p1,origin+p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] | ^^^^^ ---- argument #2 of type `Color` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn ruler(font:&Font, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 116 - ruler(&font,size,origin+p1,origin+p2,false,true,&ticks_x).plot(&mut pl); [INFO] [stdout] 116 + ruler(&font, /* Color */, size, origin+p2, origin+p1, true, false, &ticks_x).plot(&mut pl); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | bottom_align(&text_lines(&font, size, 0xfff, &["CH_4"]).rc()).transformed(&Homography::translation(origin)).plot(&mut pl); [INFO] [stdout] | ---------- ^^^^^ expected `Color`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn text_lines(font:&Font,size:f64,color:Color,text:&[&str])->Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | &[(0xf00,"IASI"), [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | (0x0f0,"TROPOMI"), [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | (0x0ff,"IASI+L1(TROPOMI)"), [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | (0xff0,"IASI+L2(TROPOMI)")], [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 120 | left_align(&top_align(&legend(&font,size, [INFO] [stdout] | ------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 125 | 0xfff).rc())).transformed(&Homography::translation(origin + p3)); [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn legend(font:&Font,size:f64,es:&[(Color,&str)],textcolor:Color)->Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/averaging_kernels.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 129 | &text_lines(&font, [INFO] [stdout] | ---------- arguments to this function are incorrect [INFO] [stdout] 130 | 1.5*size, [INFO] [stdout] 131 | 0xfff, [INFO] [stdout] | ^^^^^ expected `Color`, found integer [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plot.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn text_lines(font:&Font,size:f64,color:Color,text:&[&str])->Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `beamplot` (example "averaging_kernels") due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `flip` [INFO] [stdout] --> src/plot.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | delta:f64,flip:bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `beamplot` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b3cd4a2bed821e21455c5b89ca6533164a8236c2ea428867b086032ba9c23ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cd4a2bed821e21455c5b89ca6533164a8236c2ea428867b086032ba9c23ebf", kill_on_drop: false }` [INFO] [stdout] b3cd4a2bed821e21455c5b89ca6533164a8236c2ea428867b086032ba9c23ebf