[INFO] fetching crate pros 0.9.0... [INFO] checking pros-0.9.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pros 0.9.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pros 0.9.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-panic v0.1.1 [INFO] [stderr] Downloaded snafu-derive v0.8.0 [INFO] [stderr] Downloaded pros-async v0.2.0 [INFO] [stderr] Downloaded pros-math v0.1.0 [INFO] [stderr] Downloaded snafu v0.8.0 [INFO] [stderr] Downloaded pros-core v0.1.1 [INFO] [stderr] Downloaded no_std_io v0.6.0 [INFO] [stderr] Downloaded pros-devices v0.2.0 [INFO] [stderr] Downloaded dlmalloc v0.2.5 [INFO] [stderr] Downloaded pros-sys v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2c80d85ef2b049da0efb03d71203f669cdb4c16d3845becd21fda4e63afee2a [INFO] running `Command { std: "docker" "start" "-a" "a2c80d85ef2b049da0efb03d71203f669cdb4c16d3845becd21fda4e63afee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c80d85ef2b049da0efb03d71203f669cdb4c16d3845becd21fda4e63afee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c80d85ef2b049da0efb03d71203f669cdb4c16d3845becd21fda4e63afee2a", kill_on_drop: false }` [INFO] [stdout] a2c80d85ef2b049da0efb03d71203f669cdb4c16d3845becd21fda4e63afee2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b11c9a90d88df85f106111a33cf559e7368a243f2bf10958bf26c13770a03fe [INFO] running `Command { std: "docker" "start" "-a" "0b11c9a90d88df85f106111a33cf559e7368a243f2bf10958bf26c13770a03fe", 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] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling pros-sys v0.8.0 [INFO] [stderr] Checking waker-fn v1.1.1 [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] Checking spin v0.9.8 [INFO] [stderr] Checking no_std_io v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling snafu-derive v0.8.0 [INFO] [stderr] Checking snafu v0.8.0 [INFO] [stderr] Checking pros-core v0.1.1 [INFO] [stderr] Checking pros-devices v0.2.0 [INFO] [stderr] Checking pros-async v0.2.0 [INFO] [stderr] Checking pros-math v0.1.0 [INFO] [stderr] Checking pros-panic v0.1.1 [INFO] [stderr] Checking pros v0.9.0 (/opt/rustwide/workdir) [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-9cc441b6b7894c34.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [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` (lib test) due to 1 previous error [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] [stderr] error: could not compile `pros` (example "imu") due to 2 previous errors [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: 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: 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[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 "battery") due to 2 previous errors [INFO] [stderr] error: could not compile `pros` (example "optical") due to 2 previous errors [INFO] [stderr] error: could not compile `pros` (example "screen") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialOrd<{integer}>` [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/time.rs:244:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pros` (example "adi_expander") due to 3 previous errors [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] 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] 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] [stderr] error: could not compile `pros` (example "accessories") due to 6 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: E0308, E0599. [INFO] [stdout] [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" "0b11c9a90d88df85f106111a33cf559e7368a243f2bf10958bf26c13770a03fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b11c9a90d88df85f106111a33cf559e7368a243f2bf10958bf26c13770a03fe", kill_on_drop: false }` [INFO] [stdout] 0b11c9a90d88df85f106111a33cf559e7368a243f2bf10958bf26c13770a03fe