Sep 19 19:42:39.758 INFO checking statics-0.2.0 against master#1e21c9a297a9fe668d62887a3a6a4add8e717b17 for pr-54352 Sep 19 19:42:39.758 INFO running: cargo +1e21c9a297a9fe668d62887a3a6a4add8e717b17-alt check --frozen --all --all-targets Sep 19 19:42:39.758 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-54352/master#1e21c9a297a9fe668d62887a3a6a4add8e717b17:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-54352/worker-0/master#1e21c9a297a9fe668d62887a3a6a4add8e717b17:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +1e21c9a297a9fe668d62887a3a6a4add8e717b17-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "crater"` Sep 19 19:42:39.870 INFO blam! 6aed7a7301246c288033422512d71879834efe7bdb5e9a104abff9c23f1f0d10 Sep 19 19:42:39.872 INFO running `"docker" "start" "-a" "6aed7a7301246c288033422512d71879834efe7bdb5e9a104abff9c23f1f0d10"` Sep 19 19:42:40.887 INFO kablam! usermod: no changes Sep 19 19:42:40.952 INFO kablam! Checking extra-asserts v0.1.1 Sep 19 19:42:40.952 INFO kablam! Checking statics v0.2.0 (/source) Sep 19 19:42:41.393 INFO kablam! error[E0308]: mismatched types Sep 19 19:42:41.393 INFO kablam! --> src/mass.rs:64:60 Sep 19 19:42:41.393 INFO kablam! | Sep 19 19:42:41.393 INFO kablam! 64 | assert_approx_eq(f64::from(mass.as_gram()), 453.0, 1.0); Sep 19 19:42:41.393 INFO kablam! | ^^^ Sep 19 19:42:41.393 INFO kablam! | | Sep 19 19:42:41.393 INFO kablam! | expected &f64, found floating-point variable Sep 19 19:42:41.393 INFO kablam! | help: consider borrowing here: `&1.0` Sep 19 19:42:41.393 INFO kablam! | Sep 19 19:42:41.393 INFO kablam! = note: expected type `&f64` Sep 19 19:42:41.393 INFO kablam! found type `{float}` Sep 19 19:42:41.393 INFO kablam! Sep 19 19:42:41.393 INFO kablam! error[E0308]: mismatched types Sep 19 19:42:41.393 INFO kablam! --> src/mass.rs:70:56 Sep 19 19:42:41.393 INFO kablam! | Sep 19 19:42:41.393 INFO kablam! 70 | assert_approx_eq(f64::from(mass.as_lb()), 2.2, 1e-1); Sep 19 19:42:41.393 INFO kablam! | ^^^^ Sep 19 19:42:41.393 INFO kablam! | | Sep 19 19:42:41.393 INFO kablam! | expected &f64, found floating-point variable Sep 19 19:42:41.393 INFO kablam! | help: consider borrowing here: `&1e-1` Sep 19 19:42:41.393 INFO kablam! | Sep 19 19:42:41.393 INFO kablam! = note: expected type `&f64` Sep 19 19:42:41.393 INFO kablam! found type `{float}` Sep 19 19:42:41.393 INFO kablam! Sep 19 19:42:41.400 INFO kablam! error[E0308]: mismatched types Sep 19 19:42:41.400 INFO kablam! --> src/vector.rs:91:55 Sep 19 19:42:41.400 INFO kablam! | Sep 19 19:42:41.400 INFO kablam! 91 | assert_approx_eq(vert.mag(), Mass::Lb(171.0), Mass::Lb(1e-1)); Sep 19 19:42:41.400 INFO kablam! | ^^^^^^^^^^^^^^ Sep 19 19:42:41.400 INFO kablam! | | Sep 19 19:42:41.400 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Sep 19 19:42:41.400 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Sep 19 19:42:41.400 INFO kablam! | Sep 19 19:42:41.400 INFO kablam! = note: expected type `&mass::Mass` Sep 19 19:42:41.400 INFO kablam! found type `mass::Mass` Sep 19 19:42:41.400 INFO kablam! Sep 19 19:42:41.401 INFO kablam! error[E0308]: mismatched types Sep 19 19:42:41.401 INFO kablam! --> src/vector.rs:99:56 Sep 19 19:42:41.401 INFO kablam! | Sep 19 19:42:41.401 INFO kablam! 99 | assert_approx_eq(horiz.mag(), Mass::Lb(469.8), Mass::Lb(1e-1)); Sep 19 19:42:41.401 INFO kablam! | ^^^^^^^^^^^^^^ Sep 19 19:42:41.401 INFO kablam! | | Sep 19 19:42:41.401 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Sep 19 19:42:41.401 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Sep 19 19:42:41.401 INFO kablam! | Sep 19 19:42:41.401 INFO kablam! = note: expected type `&mass::Mass` Sep 19 19:42:41.401 INFO kablam! found type `mass::Mass` Sep 19 19:42:41.401 INFO kablam! Sep 19 19:42:41.406 INFO kablam! error: aborting due to 4 previous errors Sep 19 19:42:41.406 INFO kablam! Sep 19 19:42:41.406 INFO kablam! For more information about this error, try `rustc --explain E0308`. Sep 19 19:42:41.426 INFO kablam! error: Could not compile `statics`. Sep 19 19:42:41.426 INFO kablam! Sep 19 19:42:41.426 INFO kablam! To learn more, run the command again with --verbose. Sep 19 19:42:41.426 INFO kablam! su: No module specific data is present Sep 19 19:42:42.212 INFO running `"docker" "rm" "-f" "6aed7a7301246c288033422512d71879834efe7bdb5e9a104abff9c23f1f0d10"` Sep 19 19:42:42.355 INFO blam! 6aed7a7301246c288033422512d71879834efe7bdb5e9a104abff9c23f1f0d10