Jul 11 21:02:59.371 INFO checking statics-0.2.0 against try#d39a6f7eddafd45dcc60e99001b8cd08c2bd3255 for pr-52234 Jul 11 21:02:59.371 INFO running: cargo +d39a6f7eddafd45dcc60e99001b8cd08c2bd3255-alt check --frozen --all --all-targets Jul 11 21:02:59.371 INFO creating container for: cargo +d39a6f7eddafd45dcc60e99001b8cd08c2bd3255-alt check --frozen --all --all-targets Jul 11 21:02:59.371 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-4/pr-52234/try#d39a6f7eddafd45dcc60e99001b8cd08c2bd3255:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-52234/worker-4/try#d39a6f7eddafd45dcc60e99001b8cd08c2bd3255:/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 +d39a6f7eddafd45dcc60e99001b8cd08c2bd3255-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "crater"` Jul 11 21:02:59.593 INFO blam! 3f73f139bc86e81788302254bff94d77947246952c724d239d5028334fd0f8b9 Jul 11 21:02:59.597 INFO running `"docker" "start" "-a" "3f73f139bc86e81788302254bff94d77947246952c724d239d5028334fd0f8b9"` Jul 11 21:03:01.160 INFO kablam! Checking extra-asserts v0.1.1 Jul 11 21:03:01.160 INFO kablam! Checking statics v0.2.0 (file:///source) Jul 11 21:03:01.969 INFO kablam! error[E0308]: mismatched types Jul 11 21:03:01.969 INFO kablam! --> src/mass.rs:64:60 Jul 11 21:03:01.969 INFO kablam! | Jul 11 21:03:01.969 INFO kablam! 64 | assert_approx_eq(f64::from(mass.as_gram()), 453.0, 1.0); Jul 11 21:03:01.969 INFO kablam! | ^^^ Jul 11 21:03:01.969 INFO kablam! | | Jul 11 21:03:01.969 INFO kablam! | expected &f64, found floating-point variable Jul 11 21:03:01.969 INFO kablam! | help: consider borrowing here: `&1.0` Jul 11 21:03:01.969 INFO kablam! | Jul 11 21:03:01.969 INFO kablam! = note: expected type `&f64` Jul 11 21:03:01.970 INFO kablam! found type `{float}` Jul 11 21:03:01.970 INFO kablam! Jul 11 21:03:01.970 INFO kablam! error[E0308]: mismatched types Jul 11 21:03:01.970 INFO kablam! --> src/mass.rs:70:56 Jul 11 21:03:01.970 INFO kablam! | Jul 11 21:03:01.970 INFO kablam! 70 | assert_approx_eq(f64::from(mass.as_lb()), 2.2, 1e-1); Jul 11 21:03:01.970 INFO kablam! | ^^^^ Jul 11 21:03:01.970 INFO kablam! | | Jul 11 21:03:01.970 INFO kablam! | expected &f64, found floating-point variable Jul 11 21:03:01.970 INFO kablam! | help: consider borrowing here: `&1e-1` Jul 11 21:03:01.970 INFO kablam! | Jul 11 21:03:01.970 INFO kablam! = note: expected type `&f64` Jul 11 21:03:01.970 INFO kablam! found type `{float}` Jul 11 21:03:01.970 INFO kablam! Jul 11 21:03:01.991 INFO kablam! error[E0308]: mismatched types Jul 11 21:03:01.991 INFO kablam! --> src/vector.rs:91:55 Jul 11 21:03:01.991 INFO kablam! | Jul 11 21:03:01.991 INFO kablam! 91 | assert_approx_eq(vert.mag(), Mass::Lb(171.0), Mass::Lb(1e-1)); Jul 11 21:03:01.992 INFO kablam! | ^^^^^^^^^^^^^^ Jul 11 21:03:01.992 INFO kablam! | | Jul 11 21:03:01.992 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Jul 11 21:03:01.992 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Jul 11 21:03:01.992 INFO kablam! | Jul 11 21:03:01.992 INFO kablam! = note: expected type `&mass::Mass` Jul 11 21:03:01.992 INFO kablam! found type `mass::Mass` Jul 11 21:03:01.992 INFO kablam! Jul 11 21:03:01.995 INFO kablam! error[E0308]: mismatched types Jul 11 21:03:01.995 INFO kablam! --> src/vector.rs:99:56 Jul 11 21:03:01.995 INFO kablam! | Jul 11 21:03:01.995 INFO kablam! 99 | assert_approx_eq(horiz.mag(), Mass::Lb(469.8), Mass::Lb(1e-1)); Jul 11 21:03:01.995 INFO kablam! | ^^^^^^^^^^^^^^ Jul 11 21:03:01.995 INFO kablam! | | Jul 11 21:03:01.995 INFO kablam! | expected &mass::Mass, found enum `mass::Mass` Jul 11 21:03:01.995 INFO kablam! | help: consider borrowing here: `&Mass::Lb(1e-1)` Jul 11 21:03:01.995 INFO kablam! | Jul 11 21:03:01.995 INFO kablam! = note: expected type `&mass::Mass` Jul 11 21:03:01.995 INFO kablam! found type `mass::Mass` Jul 11 21:03:01.995 INFO kablam! Jul 11 21:03:02.003 INFO kablam! error: aborting due to 4 previous errors Jul 11 21:03:02.003 INFO kablam! Jul 11 21:03:02.004 INFO kablam! For more information about this error, try `rustc --explain E0308`. Jul 11 21:03:02.015 INFO kablam! error: Could not compile `statics`. Jul 11 21:03:02.015 INFO kablam! Jul 11 21:03:02.015 INFO kablam! To learn more, run the command again with --verbose. Jul 11 21:03:02.017 INFO kablam! su: No module specific data is present Jul 11 21:03:02.549 INFO running `"docker" "rm" "-f" "3f73f139bc86e81788302254bff94d77947246952c724d239d5028334fd0f8b9"` Jul 11 21:03:02.716 INFO blam! 3f73f139bc86e81788302254bff94d77947246952c724d239d5028334fd0f8b9