[INFO] fetching crate pros 0.9.0... [INFO] testing pros-0.9.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pros 0.9.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pros 0.9.0 [INFO] finished tweaking crates.io crate pros 0.9.0 [INFO] tweaked toml for crates.io crate pros 0.9.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pros 0.9.0 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 pros 0.9.0 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] Downloading crates ... [INFO] [stderr] Downloaded pros-sync v0.2.0 [INFO] [stderr] Downloaded pros-devices v0.2.0 [INFO] [stderr] Downloaded pros-async v0.2.0 [INFO] [stderr] Downloaded pros-core v0.1.1 [INFO] [stderr] Downloaded snafu-derive v0.8.0 [INFO] [stderr] Downloaded pros-math v0.1.0 [INFO] [stderr] Downloaded no_std_io v0.6.0 [INFO] [stderr] Downloaded pros-panic v0.1.1 [INFO] [stderr] Downloaded dlmalloc v0.2.5 [INFO] [stderr] Downloaded snafu v0.8.0 [INFO] [stderr] Downloaded pros-sys v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 55e63e63df651c92f296853d41076a85abc0b81d05c55de95468a7575491cc48 [INFO] running `Command { std: "docker" "start" "-a" "55e63e63df651c92f296853d41076a85abc0b81d05c55de95468a7575491cc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55e63e63df651c92f296853d41076a85abc0b81d05c55de95468a7575491cc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e63e63df651c92f296853d41076a85abc0b81d05c55de95468a7575491cc48", kill_on_drop: false }` [INFO] [stdout] 55e63e63df651c92f296853d41076a85abc0b81d05c55de95468a7575491cc48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 82502632a91dd580b3024cc081f282400b1117fe3aa8aaeb56b70479b95f050d [INFO] running `Command { std: "docker" "start" "-a" "82502632a91dd580b3024cc081f282400b1117fe3aa8aaeb56b70479b95f050d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling pros-sys v0.8.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling no_std_io v0.6.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling snafu-derive v0.8.0 [INFO] [stderr] Compiling snafu v0.8.0 [INFO] [stderr] Compiling pros-core v0.1.1 [INFO] [stderr] Compiling pros-devices v0.2.0 [INFO] [stderr] Compiling pros-math v0.1.0 [INFO] [stderr] Compiling pros-async v0.2.0 [INFO] [stderr] Compiling pros-panic v0.1.1 [INFO] [stderr] Compiling pros v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.16s [INFO] running `Command { std: "docker" "inspect" "82502632a91dd580b3024cc081f282400b1117fe3aa8aaeb56b70479b95f050d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82502632a91dd580b3024cc081f282400b1117fe3aa8aaeb56b70479b95f050d", kill_on_drop: false }` [INFO] [stdout] 82502632a91dd580b3024cc081f282400b1117fe3aa8aaeb56b70479b95f050d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9b44cf24a8b0beb0f83f0384d680624275463f924607ccea2794e22867f3cc12 [INFO] running `Command { std: "docker" "start" "-a" "9b44cf24a8b0beb0f83f0384d680624275463f924607ccea2794e22867f3cc12", kill_on_drop: false }` [INFO] [stderr] Compiling pros v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `pros_panic` (which `pros` depends on) [INFO] [stdout] = note: first definition in `pros_panic` loaded from /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpros_panic-9d162ddcae75ac5e.rlib [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.so, /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "battery") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (lib test) due to 1 previous error [INFO] [stderr] error: could not compile `pros` (example "imu") due to 2 previous errors [INFO] [stderr] error: could not compile `pros` (example "basic") due to 2 previous errors [INFO] [stderr] error: could not compile `pros` (example "optical") due to 2 previous errors [INFO] [stdout] error[E0277]: `pros::prelude::Position` doesn't implement `Display` [INFO] [stdout] --> examples/adi_expander.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | println!("Encoder position: {}", self.encoder.position()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `pros::prelude::Position` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Display` is not implemented for `pros::prelude::Position` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `format_args` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `core::result::Result` [INFO] [stdout] --> examples/accessories.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 54 | println!("Motor stopped? {}", motor.lock().velocity() < 2); [INFO] [stdout] | ----------------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | core::result::Result [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `core::result::Result` doesn't implement `PartialOrd<{integer}>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialOrd<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/dynamic_peripherals.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 18 | let motor = Motor::new( [INFO] [stdout] | ---------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 21 | false, [INFO] [stdout] | ^^^^^ expected `Direction`, found `bool` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pros-devices-0.2.0/src/smart/motor.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/accessories.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | delay(Duration::from_millis(Motor::DATA_READ_RATE)); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/time.rs:244:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/accessories.rs:69:51 [INFO] [stdout] | [INFO] [stdout] 69 | .set_voltage(Motor::MAX_VOLTAGE * controller.state()?.joysticks.right.y)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `f64` by `f32` [INFO] [stdout] --> examples/accessories.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | .set_voltage(Motor::MAX_VOLTAGE * controller.state()?.joysticks.right.y)?; [INFO] [stdout] | ^ no implementation for `f64 * f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `f64` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&f64` implements `Mul<&num_complex::Complex>` [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] `&f64` implements `Mul>` [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] `f64` implements `Mul<&f64>` [INFO] [stdout] `f64` implements `Mul<&num_complex::Complex>` [INFO] [stdout] `f64` implements `Mul>` [INFO] [stdout] `f64` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "adi_expander") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `wait_until_stopped` found for struct `pros::prelude::Motor` in the current scope [INFO] [stdout] --> examples/dynamic_peripherals.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | motor.wait_until_stopped().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `pros::prelude::Motor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "accessories") due to 6 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "dynamic_peripherals") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9b44cf24a8b0beb0f83f0384d680624275463f924607ccea2794e22867f3cc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b44cf24a8b0beb0f83f0384d680624275463f924607ccea2794e22867f3cc12", kill_on_drop: false }` [INFO] [stdout] 9b44cf24a8b0beb0f83f0384d680624275463f924607ccea2794e22867f3cc12