[INFO] fetching crate fpsdk 1.0.3... [INFO] checking fpsdk-1.0.3 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate fpsdk 1.0.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fpsdk 1.0.3 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fpsdk 1.0.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fpsdk 1.0.3 [INFO] tweaked toml for crates.io crate fpsdk 1.0.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate fpsdk 1.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded hresult v0.0.1 [INFO] [stderr] Downloaded syn v1.0.24 [INFO] [stderr] Downloaded simplelog v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 046530bd55aa2077df1a5a255dda16ed2ece1507d3262fdfa43899e58f065fde [INFO] running `Command { std: "docker" "start" "-a" "046530bd55aa2077df1a5a255dda16ed2ece1507d3262fdfa43899e58f065fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "046530bd55aa2077df1a5a255dda16ed2ece1507d3262fdfa43899e58f065fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046530bd55aa2077df1a5a255dda16ed2ece1507d3262fdfa43899e58f065fde", kill_on_drop: false }` [INFO] [stdout] 046530bd55aa2077df1a5a255dda16ed2ece1507d3262fdfa43899e58f065fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9957b0ba81d0fcf372a5c131005cf5a14cd636c7b7302ec57dcd0819b5930b4 [INFO] running `Command { std: "docker" "start" "-a" "f9957b0ba81d0fcf372a5c131005cf5a14cd636c7b7302ec57dcd0819b5930b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hresult v0.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking simplelog v0.7.6 [INFO] [stderr] Compiling fpsdk v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 169 | / extern "C" { [INFO] [stdout] 170 | | fn alloc_real_cstr(raw_str: *mut c_char) -> *mut c_char; [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/host.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 316 | / extern "C" { [INFO] [stdout] 317 | | fn host_on_parameter(host: *mut c_void, tag: intptr_t, index: c_int, value: c_int); [INFO] [stdout] 318 | | fn host_on_controller(host: *mut c_void, tag: intptr_t, index: intptr_t, value: intptr_t); [INFO] [stdout] 319 | | fn host_on_hint(host: *mut c_void, tag: intptr_t, text: *mut c_char); [INFO] [stdout] ... | [INFO] [stdout] 348 | | fn host_get_send_buf(host: *mut c_void, offset: intptr_t) -> *mut c_void; [INFO] [stdout] 349 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/host.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | fn host_release_voice(host: *mut c_void, tag: intptr_t); [INFO] [stdout] 435 | | fn host_kill_voice(host: *mut c_void, tag: intptr_t); [INFO] [stdout] 436 | | fn host_on_voice_event(host: *mut c_void, tag: intptr_t, message: FlMessage) -> intptr_t; [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.110 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/simple.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(_) => info!("state {:?} saved", self.state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/simple.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => error!("error serializing state {}", e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/simple.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(info!("read state {:?}", self.state)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/simple.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | .unwrap_or_else(|e| error!("error reading value from state {}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fpsdk` [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 169 | / extern "C" { [INFO] [stdout] 170 | | fn alloc_real_cstr(raw_str: *mut c_char) -> *mut c_char; [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/host.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 316 | / extern "C" { [INFO] [stdout] 317 | | fn host_on_parameter(host: *mut c_void, tag: intptr_t, index: c_int, value: c_int); [INFO] [stdout] 318 | | fn host_on_controller(host: *mut c_void, tag: intptr_t, index: intptr_t, value: intptr_t); [INFO] [stdout] 319 | | fn host_on_hint(host: *mut c_void, tag: intptr_t, text: *mut c_char); [INFO] [stdout] ... | [INFO] [stdout] 348 | | fn host_get_send_buf(host: *mut c_void, offset: intptr_t) -> *mut c_void; [INFO] [stdout] 349 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/host.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 433 | / extern "C" { [INFO] [stdout] 434 | | fn host_release_voice(host: *mut c_void, tag: intptr_t); [INFO] [stdout] 435 | | fn host_kill_voice(host: *mut c_void, tag: intptr_t); [INFO] [stdout] 436 | | fn host_on_voice_event(host: *mut c_void, tag: intptr_t, message: FlMessage) -> intptr_t; [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f9957b0ba81d0fcf372a5c131005cf5a14cd636c7b7302ec57dcd0819b5930b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9957b0ba81d0fcf372a5c131005cf5a14cd636c7b7302ec57dcd0819b5930b4", kill_on_drop: false }` [INFO] [stdout] f9957b0ba81d0fcf372a5c131005cf5a14cd636c7b7302ec57dcd0819b5930b4