[INFO] fetching crate gen_gcode 0.1.0... [INFO] testing gen_gcode-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate gen_gcode 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gen_gcode 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gen_gcode 0.1.0 [INFO] finished tweaking crates.io crate gen_gcode 0.1.0 [INFO] tweaked toml for crates.io crate gen_gcode 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate gen_gcode 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] bad9656750edcb4cad3ce659d6759981a2c4afaaebf3c1243d02fc82fe74cc49 [INFO] running `Command { std: "docker" "start" "-a" "bad9656750edcb4cad3ce659d6759981a2c4afaaebf3c1243d02fc82fe74cc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bad9656750edcb4cad3ce659d6759981a2c4afaaebf3c1243d02fc82fe74cc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad9656750edcb4cad3ce659d6759981a2c4afaaebf3c1243d02fc82fe74cc49", kill_on_drop: false }` [INFO] [stdout] bad9656750edcb4cad3ce659d6759981a2c4afaaebf3c1243d02fc82fe74cc49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] f9147882e30d8a18542537ce065465e4243e1932203b724d487bce884c7b93fb [INFO] running `Command { std: "docker" "start" "-a" "f9147882e30d8a18542537ce065465e4243e1932203b724d487bce884c7b93fb", kill_on_drop: false }` [INFO] [stderr] Compiling gen_gcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "f9147882e30d8a18542537ce065465e4243e1932203b724d487bce884c7b93fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9147882e30d8a18542537ce065465e4243e1932203b724d487bce884c7b93fb", kill_on_drop: false }` [INFO] [stdout] f9147882e30d8a18542537ce065465e4243e1932203b724d487bce884c7b93fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--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] 8f8092834954817244a1c67979d0070cfe6d3b3646ffb1467f24e93ae3f983cc [INFO] running `Command { std: "docker" "start" "-a" "8f8092834954817244a1c67979d0070cfe6d3b3646ffb1467f24e93ae3f983cc", kill_on_drop: false }` [INFO] [stderr] Compiling gen_gcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `print_area_z` [INFO] [stdout] --> examples/2wallbox.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let print_area_z = 250; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_print_area_z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_bottom_layers` [INFO] [stdout] --> examples/2wallbox.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let num_bottom_layers = &bottom_thickness/&layer_hight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_bottom_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_top_layers` [INFO] [stdout] --> examples/2wallbox.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let num_top_layers = &top_thickness/&layer_hight; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_top_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layer_change` [INFO] [stdout] --> examples/2wallbox.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn layer_change(cur_layer_end: Point3d, new_layer_start: Point3d, layer_hight: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | file.write(wait_bed_temp(bed_temp).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | file.write(wait_hotend_temp(nozzle_temp, None).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | file.write(absolute_extrution().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | file.write(auto_home().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | file.write(reset_extruder(0.0).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | file.write(move_xyz(Point3d { x: 0.0, y: 0.0, z: 2.0 }, false, move_feed_rate, None).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | file.write(move_xyz(start_point, false, move_feed_rate, None).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/2wallbox.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | file.write(move_xyz(p, true, print_feed_rate, Some(e_dest)).as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | let gcode = set_pos_2d(p, Some(90)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | help: use a float literal: `90.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | let gcode = set_pos_3d(p, Some(90)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | help: use a float literal: `90.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gen_gcode` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f8092834954817244a1c67979d0070cfe6d3b3646ffb1467f24e93ae3f983cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8092834954817244a1c67979d0070cfe6d3b3646ffb1467f24e93ae3f983cc", kill_on_drop: false }` [INFO] [stdout] 8f8092834954817244a1c67979d0070cfe6d3b3646ffb1467f24e93ae3f983cc