[INFO] fetching crate fm_plugin 0.1.4... [INFO] checking fm_plugin-0.1.4 against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] extracting crate fm_plugin 0.1.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fm_plugin 0.1.4 on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fm_plugin 0.1.4 [INFO] finished tweaking crates.io crate fm_plugin 0.1.4 [INFO] tweaked toml for crates.io crate fm_plugin 0.1.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfffc05eec0d9ff9283d4b0fb5aacb3cd8c7fc2271893b5765653077fc590f60 [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" "cfffc05eec0d9ff9283d4b0fb5aacb3cd8c7fc2271893b5765653077fc590f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfffc05eec0d9ff9283d4b0fb5aacb3cd8c7fc2271893b5765653077fc590f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfffc05eec0d9ff9283d4b0fb5aacb3cd8c7fc2271893b5765653077fc590f60", kill_on_drop: false }` [INFO] [stdout] cfffc05eec0d9ff9283d4b0fb5aacb3cd8c7fc2271893b5765653077fc590f60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69f04049c78a21c0437a1e8de3d4dc1c5c423dfbdc3daf6cefefe998cc6b2053 [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" "69f04049c78a21c0437a1e8de3d4dc1c5c423dfbdc3daf6cefefe998cc6b2053", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling fm_plugin v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking directories v3.0.1 [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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | launch_filemaker(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bundle_plugin_command` in this scope [INFO] [stdout] --> src/post_build.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | launch_filemaker(&config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [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:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{rename, File}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/post_build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/post_build.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::config::{read_config, BuildError, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rename` [INFO] [stdout] --> src/post_build.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{rename, File}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/post_build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/post_build.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::config::{read_config, BuildError, Config}; [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/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: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: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: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[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] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "69f04049c78a21c0437a1e8de3d4dc1c5c423dfbdc3daf6cefefe998cc6b2053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f04049c78a21c0437a1e8de3d4dc1c5c423dfbdc3daf6cefefe998cc6b2053", kill_on_drop: false }` [INFO] [stdout] 69f04049c78a21c0437a1e8de3d4dc1c5c423dfbdc3daf6cefefe998cc6b2053