[INFO] crate statics 0.2.0 is already in cache [INFO] extracting crate statics 0.2.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/statics/0.2.0 [INFO] extracting crate statics 0.2.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/statics/0.2.0 [INFO] validating manifest of statics-0.2.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of statics-0.2.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing statics-0.2.0 [INFO] finished frobbing statics-0.2.0 [INFO] frobbed toml for statics-0.2.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/statics/0.2.0/Cargo.toml [INFO] started frobbing statics-0.2.0 [INFO] finished frobbing statics-0.2.0 [INFO] frobbed toml for statics-0.2.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/statics/0.2.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking statics-0.2.0 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/statics/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6360423a0abfc5dcab0448ab50e7161e4288fe2b5cb05bf8c8c0ed3c2cf9e16d [INFO] running `"docker" "start" "-a" "6360423a0abfc5dcab0448ab50e7161e4288fe2b5cb05bf8c8c0ed3c2cf9e16d"` [INFO] [stderr] Checking extra-asserts v0.1.1 [INFO] [stderr] Checking statics v0.2.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/mass.rs:64:60 [INFO] [stderr] | [INFO] [stderr] 64 | assert_approx_eq(f64::from(mass.as_gram()), 453.0, 1.0); [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &f64, found floating-point number [INFO] [stderr] | help: consider borrowing here: `&1.0` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&f64` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/mass.rs:70:56 [INFO] [stderr] | [INFO] [stderr] 70 | assert_approx_eq(f64::from(mass.as_lb()), 2.2, 1e-1); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &f64, found floating-point number [INFO] [stderr] | help: consider borrowing here: `&1e-1` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&f64` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vector.rs:91:55 [INFO] [stderr] | [INFO] [stderr] 91 | assert_approx_eq(vert.mag(), Mass::Lb(171.0), Mass::Lb(1e-1)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &mass::Mass, found enum `mass::Mass` [INFO] [stderr] | help: consider borrowing here: `&Mass::Lb(1e-1)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mass::Mass` [INFO] [stderr] found type `mass::Mass` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/vector.rs:99:56 [INFO] [stderr] | [INFO] [stderr] 99 | assert_approx_eq(horiz.mag(), Mass::Lb(469.8), Mass::Lb(1e-1)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &mass::Mass, found enum `mass::Mass` [INFO] [stderr] | help: consider borrowing here: `&Mass::Lb(1e-1)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mass::Mass` [INFO] [stderr] found type `mass::Mass` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `statics`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6360423a0abfc5dcab0448ab50e7161e4288fe2b5cb05bf8c8c0ed3c2cf9e16d"` [INFO] running `"docker" "rm" "-f" "6360423a0abfc5dcab0448ab50e7161e4288fe2b5cb05bf8c8c0ed3c2cf9e16d"` [INFO] [stdout] 6360423a0abfc5dcab0448ab50e7161e4288fe2b5cb05bf8c8c0ed3c2cf9e16d