Aug 30 01:48:00.945 INFO checking statics-0.2.0 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 01:48:00.945 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 01:48:00.945 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-2/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/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=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 01:48:01.125 INFO blam! fa34703f303a3e488a4f913f35c9a75117bfedd939ddad748ab0e6de750a2308 Aug 30 01:48:01.127 INFO running `"docker" "start" "-a" "fa34703f303a3e488a4f913f35c9a75117bfedd939ddad748ab0e6de750a2308"` Aug 30 01:48:01.783 INFO kablam! Checking extra-asserts v0.1.1 Aug 30 01:48:01.783 INFO kablam! Checking statics v0.2.0 (file:///source) Aug 30 01:48:02.725 INFO kablam! error[E0308]: mismatched types Aug 30 01:48:02.725 INFO kablam! --> src/mass.rs:64:60 Aug 30 01:48:02.725 INFO kablam! | Aug 30 01:48:02.725 INFO kablam! 64 | assert_approx_eq(f64::from(mass.as_gram()), 453.0, 1.0); Aug 30 01:48:02.725 INFO kablam! | ^^^ Aug 30 01:48:02.725 INFO kablam! | | Aug 30 01:48:02.725 INFO kablam! | expected &f64, found floating-point variable Aug 30 01:48:02.725 INFO kablam! | help: consider borrowing here: `&1.0` Aug 30 01:48:02.725 INFO kablam! | Aug 30 01:48:02.725 INFO kablam! = note: expected type `&f64` Aug 30 01:48:02.725 INFO kablam! found type `{float}` Aug 30 01:48:02.725 INFO kablam! Aug 30 01:48:02.726 INFO kablam! error[E0308]: mismatched types Aug 30 01:48:02.726 INFO kablam! --> src/mass.rs:70:56 Aug 30 01:48:02.726 INFO kablam! | Aug 30 01:48:02.726 INFO kablam! 70 | assert_approx_eq(f64::from(mass.as_lb()), 2.2, 1e-1); Aug 30 01:48:02.726 INFO kablam! | ^^^^ Aug 30 01:48:02.726 INFO kablam! | | Aug 30 01:48:02.726 INFO kablam! | expected &f64, found floating-point variable Aug 30 01:48:02.726 INFO kablam! | help: consider borrowing here: `&1e-1` Aug 30 01:48:02.726 INFO kablam! | Aug 30 01:48:02.726 INFO kablam! = note: expected type `&f64` Aug 30 01:48:02.726 INFO kablam! found type `{float}` Aug 30 01:48:02.726 INFO kablam! Aug 30 01:48:02.738 INFO kablam! error[E0308]: mismatched types Aug 30 01:48:02.738 INFO kablam! --> src/vector.rs:91:55 Aug 30 01:48:02.739 INFO kablam! | Aug 30 01:48:02.739 INFO kablam! 91 | assert_approx_eq(vert.mag(), Mass::Lb(171.0), Mass::Lb(1e-1)); Aug 30 01:48:02.739 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 01:48:02.739 INFO kablam! | | Aug 30 01:48:02.739 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Aug 30 01:48:02.739 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Aug 30 01:48:02.739 INFO kablam! | Aug 30 01:48:02.739 INFO kablam! = note: expected type `&mass::Mass` Aug 30 01:48:02.739 INFO kablam! found type `mass::Mass` Aug 30 01:48:02.739 INFO kablam! Aug 30 01:48:02.741 INFO kablam! error[E0308]: mismatched types Aug 30 01:48:02.741 INFO kablam! --> src/vector.rs:99:56 Aug 30 01:48:02.741 INFO kablam! | Aug 30 01:48:02.741 INFO kablam! 99 | assert_approx_eq(horiz.mag(), Mass::Lb(469.8), Mass::Lb(1e-1)); Aug 30 01:48:02.741 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 01:48:02.741 INFO kablam! | | Aug 30 01:48:02.741 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Aug 30 01:48:02.741 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Aug 30 01:48:02.741 INFO kablam! | Aug 30 01:48:02.742 INFO kablam! = note: expected type `&mass::Mass` Aug 30 01:48:02.742 INFO kablam! found type `mass::Mass` Aug 30 01:48:02.742 INFO kablam! Aug 30 01:48:02.747 INFO kablam! error: aborting due to 4 previous errors Aug 30 01:48:02.747 INFO kablam! Aug 30 01:48:02.747 INFO kablam! For more information about this error, try `rustc --explain E0308`. Aug 30 01:48:02.762 INFO kablam! error: Could not compile `statics`. Aug 30 01:48:02.762 INFO kablam! Aug 30 01:48:02.762 INFO kablam! To learn more, run the command again with --verbose. Aug 30 01:48:02.762 INFO kablam! su: No module specific data is present Aug 30 01:48:03.218 INFO running `"docker" "rm" "-f" "fa34703f303a3e488a4f913f35c9a75117bfedd939ddad748ab0e6de750a2308"` Aug 30 01:48:03.314 INFO blam! fa34703f303a3e488a4f913f35c9a75117bfedd939ddad748ab0e6de750a2308