[INFO] fetching crate pros 0.9.0... [INFO] testing pros-0.9.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pros 0.9.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pros 0.9.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b3b73706391f8bef9a0ae34887408f29fb488efbd5fa8b0a3541da0d43f88e [INFO] running `Command { std: "docker" "start" "-a" "75b3b73706391f8bef9a0ae34887408f29fb488efbd5fa8b0a3541da0d43f88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b3b73706391f8bef9a0ae34887408f29fb488efbd5fa8b0a3541da0d43f88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b3b73706391f8bef9a0ae34887408f29fb488efbd5fa8b0a3541da0d43f88e", kill_on_drop: false }` [INFO] [stdout] 75b3b73706391f8bef9a0ae34887408f29fb488efbd5fa8b0a3541da0d43f88e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60a0101baca021b3c423158e6356ace8a9a981a73f9520000da8a1ff1905f5bc [INFO] running `Command { std: "docker" "start" "-a" "60a0101baca021b3c423158e6356ace8a9a981a73f9520000da8a1ff1905f5bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling pros-sys v0.8.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling no_std_io v0.6.0 [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 11.24s [INFO] running `Command { std: "docker" "inspect" "60a0101baca021b3c423158e6356ace8a9a981a73f9520000da8a1ff1905f5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a0101baca021b3c423158e6356ace8a9a981a73f9520000da8a1ff1905f5bc", kill_on_drop: false }` [INFO] [stdout] 60a0101baca021b3c423158e6356ace8a9a981a73f9520000da8a1ff1905f5bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c177c14f407508289a7679a2f1c380e3240d4a43e1d4731e4a1fbc296150850 [INFO] running `Command { std: "docker" "start" "-a" "3c177c14f407508289a7679a2f1c380e3240d4a43e1d4731e4a1fbc296150850", 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: 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` (example "optical") 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] [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] [stderr] error: could not compile `pros` (example "battery") due to 2 previous errors [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[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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:550:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialOrd<{integer}>` [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[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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/time.rs:244:18 [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] 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] [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/debug/deps/libpros_panic-e1950b35b25787d9.rlib [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/2440211fe03bc45c89b6dc1a3df18382ce91e32b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2bfe6d313f1a27d4.so, /opt/rustwide/rustup-home/toolchains/2440211fe03bc45c89b6dc1a3df18382ce91e32b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2bfe6d313f1a27d4.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [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] [stderr] error: could not compile `pros` (lib test) due to 1 previous error [INFO] [stderr] error: could not compile `pros` (example "basic") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "screen") due to 2 previous errors [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] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "adi") 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] | required by this formatting parameter [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] [stderr] error: could not compile `pros` (example "adi_expander") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "imu") due to 2 previous errors [INFO] [stderr] error: could not compile `pros` (example "dynamic_peripherals") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3c177c14f407508289a7679a2f1c380e3240d4a43e1d4731e4a1fbc296150850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c177c14f407508289a7679a2f1c380e3240d4a43e1d4731e4a1fbc296150850", kill_on_drop: false }` [INFO] [stdout] 3c177c14f407508289a7679a2f1c380e3240d4a43e1d4731e4a1fbc296150850