[INFO] fetching crate ahrs 0.2.2... [INFO] checking ahrs-0.2.2 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate ahrs 0.2.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ahrs 0.2.2 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ahrs 0.2.2 [INFO] finished tweaking crates.io crate ahrs 0.2.2 [INFO] tweaked toml for crates.io crate ahrs 0.2.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e9a1464ceeca8209421f5c2f03d3250546ce147257b5742d9c3adfb7d68c746 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e9a1464ceeca8209421f5c2f03d3250546ce147257b5742d9c3adfb7d68c746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e9a1464ceeca8209421f5c2f03d3250546ce147257b5742d9c3adfb7d68c746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9a1464ceeca8209421f5c2f03d3250546ce147257b5742d9c3adfb7d68c746", kill_on_drop: false }` [INFO] [stdout] 6e9a1464ceeca8209421f5c2f03d3250546ce147257b5742d9c3adfb7d68c746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd54673537bc00d38b83966b025b4f3982b32cf1e7d3068d7d26dc2c48b47f13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd54673537bc00d38b83966b025b4f3982b32cf1e7d3068d7d26dc2c48b47f13", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking ahrs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 57 | bench_ahrs!(_bench_madgwick_update, Madgwick, update, 1); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 58 | bench_ahrs!(_bench_madgwick_update_x1000, Madgwick, update, 1000); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 59 | bench_ahrs!(_bench_madgwick_update_imu, Madgwick, update_imu, 1); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 60 | bench_ahrs!(_bench_madgwick_update_imu_x1000, Madgwick, update_imu, 1000); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 61 | bench_ahrs!(_bench_mahony_update, Mahony, update, 1); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 62 | bench_ahrs!(_bench_mahony_update_x1000, Mahony, update, 1000); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 63 | bench_ahrs!(_bench_mahony_update_imu, Mahony, update_imu, 1); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> benches/ahrs.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] ... [INFO] [stdout] 64 | bench_ahrs!(_bench_mahony_update_imu_x1000, Mahony, update_imu, 1000); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> benches/ahrs.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ahrs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fd54673537bc00d38b83966b025b4f3982b32cf1e7d3068d7d26dc2c48b47f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd54673537bc00d38b83966b025b4f3982b32cf1e7d3068d7d26dc2c48b47f13", kill_on_drop: false }` [INFO] [stdout] fd54673537bc00d38b83966b025b4f3982b32cf1e7d3068d7d26dc2c48b47f13