[INFO] fetching crate ljmrs 0.2.2... [INFO] checking ljmrs-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ljmrs 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ljmrs 0.2.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ljmrs 0.2.2 [INFO] tweaked toml for crates.io crate ljmrs 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ljmrs 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ljmrs 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75a3a6f3b173b3e69bbf4b14ad216e19f7b319aeb3bb03e1b1a40dbff8ab6cb4 [INFO] running `Command { std: "docker" "start" "-a" "75a3a6f3b173b3e69bbf4b14ad216e19f7b319aeb3bb03e1b1a40dbff8ab6cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75a3a6f3b173b3e69bbf4b14ad216e19f7b319aeb3bb03e1b1a40dbff8ab6cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a3a6f3b173b3e69bbf4b14ad216e19f7b319aeb3bb03e1b1a40dbff8ab6cb4", kill_on_drop: false }` [INFO] [stdout] 75a3a6f3b173b3e69bbf4b14ad216e19f7b319aeb3bb03e1b1a40dbff8ab6cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5f1729016c51a2a90cfd617e0d39c9917cc1c8e0400aff52a4a0f305f5bd060 [INFO] running `Command { std: "docker" "start" "-a" "a5f1729016c51a2a90cfd617e0d39c9917cc1c8e0400aff52a4a0f305f5bd060", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ljmrs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/std.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 8 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 8 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/std.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 21 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 21 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/std.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 47 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 47 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/mem.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 15 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 15 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ljmrs` (test "std") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/mem.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 30 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 30 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/mem.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 49 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 49 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/mem.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- unexpected argument of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn init() -> Result<(), LJMError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 69 - let _ = unsafe { LJMLibrary::init(None) }; [INFO] [stdout] 69 + let _ = unsafe { LJMLibrary::init() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ljmrs` (test "mem") due to 4 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/stream.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | LJMLibrary::stream_start(open_call, 2, 50_000.0, streams).expect("Failed to start stream"); [INFO] [stdout] | ------------------------ ^^^^^^^ expected `Vec`, found `Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&str>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ljm/core.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn stream_start( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ljmrs` (example "stream") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a5f1729016c51a2a90cfd617e0d39c9917cc1c8e0400aff52a4a0f305f5bd060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f1729016c51a2a90cfd617e0d39c9917cc1c8e0400aff52a4a0f305f5bd060", kill_on_drop: false }` [INFO] [stdout] a5f1729016c51a2a90cfd617e0d39c9917cc1c8e0400aff52a4a0f305f5bd060