[INFO] fetching crate fm_plugin 0.1.12... [INFO] checking fm_plugin-0.1.12 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate fm_plugin 0.1.12 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate fm_plugin 0.1.12 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fm_plugin 0.1.12 [INFO] finished tweaking crates.io crate fm_plugin 0.1.12 [INFO] tweaked toml for crates.io crate fm_plugin 0.1.12 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 868adf051721587ab5543ff7534e0a003740ae5df5dbbae26c1f806f29b371bc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "868adf051721587ab5543ff7534e0a003740ae5df5dbbae26c1f806f29b371bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "868adf051721587ab5543ff7534e0a003740ae5df5dbbae26c1f806f29b371bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868adf051721587ab5543ff7534e0a003740ae5df5dbbae26c1f806f29b371bc", kill_on_drop: false }` [INFO] [stdout] 868adf051721587ab5543ff7534e0a003740ae5df5dbbae26c1f806f29b371bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7805407b53a01196eb9ce727e12ca5f958e29e764413772f80676c94ee9a3f1 [INFO] running `Command { std: "docker" "start" "-a" "e7805407b53a01196eb9ce727e12ca5f958e29e764413772f80676c94ee9a3f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling fm_plugin v0.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0425]: cannot find function `bundle_plugin_command` in this scope [INFO] [stdout] --> src/post_build.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | bundle_plugin_command(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `launch_filemaker` in this scope [INFO] [stdout] --> src/post_build.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | launch_filemaker(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rename` [INFO] [stdout] --> src/post_build.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | use std::fs::{rename, File}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/post_build.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/post_build.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bundle_plugin_command` in this scope [INFO] [stdout] --> src/post_build.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | bundle_plugin_command(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `launch_filemaker` in this scope [INFO] [stdout] --> src/post_build.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | launch_filemaker(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rename` [INFO] [stdout] --> src/post_build.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | use std::fs::{rename, File}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/post_build.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/post_build.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/datetime.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | FM_DateTime_SetNormalizedTime1(self.ptr, hours, minutes, seconds, milliseconds, &mut _x) [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 222 | FM_DateTime_SetNormalizedTime1(self.ptr, hours.try_into().unwrap(), minutes, seconds, milliseconds, &mut _x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/datetime.rs:247:58 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FM_DateTime_SetDaysSinceEpoch(self.ptr, days, &mut _x) }; [INFO] [stdout] | ^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FM_DateTime_SetDaysSinceEpoch(self.ptr, days.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { FM_FixPt_AssignInt64(self.ptr, num, &mut _x) }; [INFO] [stdout] | ^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { FM_FixPt_AssignInt64(self.ptr, num.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 220 | fn from(fix_pt: FixPt) -> i64 { [INFO] [stdout] | --- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 224 | num [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | help: you can convert an `i32` to an `i64`: `num.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | unsafe { FM_FixPt_AssignInt64(fixed_pt.ptr, num, &mut _x) }; [INFO] [stdout] | ^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 270 | unsafe { FM_FixPt_AssignInt64(fixed_pt.ptr, num.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:306:49 [INFO] [stdout] | [INFO] [stdout] 306 | unsafe { FM_FixPt_Increment64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 306 | unsafe { FM_FixPt_Increment64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:331:49 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { FM_FixPt_Increment64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { FM_FixPt_Increment64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:355:49 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe { FM_FixPt_Decrement64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 355 | unsafe { FM_FixPt_Decrement64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fm_plugin` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/datetime.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | FM_DateTime_SetNormalizedTime1(self.ptr, hours, minutes, seconds, milliseconds, &mut _x) [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 222 | FM_DateTime_SetNormalizedTime1(self.ptr, hours.try_into().unwrap(), minutes, seconds, milliseconds, &mut _x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/datetime.rs:247:58 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FM_DateTime_SetDaysSinceEpoch(self.ptr, days, &mut _x) }; [INFO] [stdout] | ^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 247 | unsafe { FM_DateTime_SetDaysSinceEpoch(self.ptr, days.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { FM_FixPt_AssignInt64(self.ptr, num, &mut _x) }; [INFO] [stdout] | ^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { FM_FixPt_AssignInt64(self.ptr, num.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 220 | fn from(fix_pt: FixPt) -> i64 { [INFO] [stdout] | --- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 224 | num [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | help: you can convert an `i32` to an `i64`: `num.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | unsafe { FM_FixPt_AssignInt64(fixed_pt.ptr, num, &mut _x) }; [INFO] [stdout] | ^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 270 | unsafe { FM_FixPt_AssignInt64(fixed_pt.ptr, num.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:306:49 [INFO] [stdout] | [INFO] [stdout] 306 | unsafe { FM_FixPt_Increment64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 306 | unsafe { FM_FixPt_Increment64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:331:49 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { FM_FixPt_Increment64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { FM_FixPt_Increment64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi/fixed_point.rs:355:49 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe { FM_FixPt_Decrement64(self.ptr, other, &mut _x) }; [INFO] [stdout] | ^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 355 | unsafe { FM_FixPt_Decrement64(self.ptr, other.try_into().unwrap(), &mut _x) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e7805407b53a01196eb9ce727e12ca5f958e29e764413772f80676c94ee9a3f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7805407b53a01196eb9ce727e12ca5f958e29e764413772f80676c94ee9a3f1", kill_on_drop: false }` [INFO] [stdout] e7805407b53a01196eb9ce727e12ca5f958e29e764413772f80676c94ee9a3f1