[INFO] fetching crate robomath 0.1.0... [INFO] checking robomath-0.1.0 against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] extracting crate robomath 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate robomath 0.1.0 on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate robomath 0.1.0 [INFO] finished tweaking crates.io crate robomath 0.1.0 [INFO] tweaked toml for crates.io crate robomath 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate robomath 0.1.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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2f10d2ecf930fc6c7a7963407e84b199e1078a68767651f39d6e9bf908d0d1e [INFO] running `Command { std: "docker" "start" "-a" "d2f10d2ecf930fc6c7a7963407e84b199e1078a68767651f39d6e9bf908d0d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2f10d2ecf930fc6c7a7963407e84b199e1078a68767651f39d6e9bf908d0d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f10d2ecf930fc6c7a7963407e84b199e1078a68767651f39d6e9bf908d0d1e", kill_on_drop: false }` [INFO] [stdout] d2f10d2ecf930fc6c7a7963407e84b199e1078a68767651f39d6e9bf908d0d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076d6299a555ac804ab068eb4225662b4de5ad2dfe919e8929bc9f15116a1673 [INFO] running `Command { std: "docker" "start" "-a" "076d6299a555ac804ab068eb4225662b4de5ad2dfe919e8929bc9f15116a1673", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking robomath v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/tests.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | assert_float_eq(v.magnitude(), 5.0, EPSILON); // √(3² + 4² + 0²) = √25 = 5 [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `vec3::Vec3::::magnitude` [INFO] [stdout] --> src/vec3.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn magnitude(&self) -> f32 [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | T: Into + Mul + Add + Copy, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Vec3::::magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/tests.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | assert_float_eq(v.magnitude(), 5.0, EPSILON); // √((-3)² + (-4)² + 0²) = √25 = 5 [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `vec3::Vec3::::magnitude` [INFO] [stdout] --> src/vec3.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn magnitude(&self) -> f32 [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | T: Into + Mul + Add + Copy, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Vec3::::magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/tests.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | assert_float_eq(v.magnitude(), 1.0, EPSILON); [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `vec3::Vec3::::magnitude` [INFO] [stdout] --> src/vec3.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn magnitude(&self) -> f32 [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | T: Into + Mul + Add + Copy, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Vec3::::magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/tests.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | assert_float_eq(v.magnitude(), 0.0, EPSILON); [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `vec3::Vec3::::magnitude` [INFO] [stdout] --> src/vec3.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn magnitude(&self) -> f32 [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | T: Into + Mul + Add + Copy, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Vec3::::magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/tests.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | assert_float_eq(v.magnitude(), 7.0, EPSILON); // √(2² + 3² + 6²) = √(4 + 9 + 36) = √49 = 7 [INFO] [stdout] | ^^^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `vec3::Vec3::::magnitude` [INFO] [stdout] --> src/vec3.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn magnitude(&self) -> f32 [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | T: Into + Mul + Add + Copy, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Vec3::::magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `robomath` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "076d6299a555ac804ab068eb4225662b4de5ad2dfe919e8929bc9f15116a1673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076d6299a555ac804ab068eb4225662b4de5ad2dfe919e8929bc9f15116a1673", kill_on_drop: false }` [INFO] [stdout] 076d6299a555ac804ab068eb4225662b4de5ad2dfe919e8929bc9f15116a1673