[INFO] fetching crate protocols 0.0.1... [INFO] building protocols-0.0.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate protocols 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate protocols 0.0.1 [INFO] finished tweaking crates.io crate protocols 0.0.1 [INFO] tweaked toml for crates.io crate protocols 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate protocols 0.0.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.3) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.9) [INFO] [stderr] Adding notify v4.0.18 (available: v8.2.0) [INFO] [stderr] Adding signals v0.0.2 (available: v0.0.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d67f565a332cc69734e3fc0169a88b0287f612a7e2b42c288436c9b9b9bd36ef [INFO] running `Command { std: "docker" "start" "-a" "d67f565a332cc69734e3fc0169a88b0287f612a7e2b42c288436c9b9b9bd36ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d67f565a332cc69734e3fc0169a88b0287f612a7e2b42c288436c9b9b9bd36ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67f565a332cc69734e3fc0169a88b0287f612a7e2b42c288436c9b9b9bd36ef", kill_on_drop: false }` [INFO] [stdout] d67f565a332cc69734e3fc0169a88b0287f612a7e2b42c288436c9b9b9bd36ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91cc1802b0a7ce00f6403947e22e6792cf595f56b754a81920abab60c38ea84d [INFO] running `Command { std: "docker" "start" "-a" "91cc1802b0a7ce00f6403947e22e6792cf595f56b754a81920abab60c38ea84d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling notify v4.0.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling signals v0.0.2 [INFO] [stderr] Compiling protocols v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let func: lib::Symbol String> = self.library.get(b"get_name")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | let func: lib::Symbol Result, Error>> = self.library.get(b"handle")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | let func: lib::Symbol String> = self.library.get(b"get_hash")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let func: lib::Symbol Result> = self.library.get(b"generate_message")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pluginmanager.rs:139:71 [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.20s [INFO] running `Command { std: "docker" "inspect" "91cc1802b0a7ce00f6403947e22e6792cf595f56b754a81920abab60c38ea84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cc1802b0a7ce00f6403947e22e6792cf595f56b754a81920abab60c38ea84d", kill_on_drop: false }` [INFO] [stdout] 91cc1802b0a7ce00f6403947e22e6792cf595f56b754a81920abab60c38ea84d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d3b9b619e86be9419c271b0bb3812014ca317f5c3415f2647da54fe7a34abd9 [INFO] running `Command { std: "docker" "start" "-a" "1d3b9b619e86be9419c271b0bb3812014ca317f5c3415f2647da54fe7a34abd9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling protocols v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let func: lib::Symbol String> = self.library.get(b"get_name")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | let func: lib::Symbol Result, Error>> = self.library.get(b"handle")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | let func: lib::Symbol String> = self.library.get(b"get_hash")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let func: lib::Symbol Result> = self.library.get(b"generate_message")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pluginmanager.rs:139:71 [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../libraries/root-message/hash.txt`: No such file or directory (os error 2) [INFO] [stdout] --> examples/sender.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | let root_protocol_hash = include_str!("../libraries/root-message/hash.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../libraries/test-protocol/hash.txt`: No such file or directory (os error 2) [INFO] [stdout] --> examples/sender.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let test_protocol_hash = include_str!("../libraries/test-protocol/hash.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../libraries/root-message/hash.txt`: No such file or directory (os error 2) [INFO] [stdout] --> examples/receiver.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let root_message_hash = include_str!("../libraries/root-message/hash.txt").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | let func: lib::Symbol String> = self.library.get(b"get_name")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | let func: lib::Symbol Result, Error>> = self.library.get(b"handle")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | let func: lib::Symbol String> = self.library.get(b"get_hash")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pluginmanager.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let func: lib::Symbol Result> = self.library.get(b"generate_message")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pluginmanager.rs:139:71 [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 | fn blocking_watch_directory(watch_path: &str, on_path_changed: Am>) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protocols` (example "receiver") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `protocols` (example "sender") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1d3b9b619e86be9419c271b0bb3812014ca317f5c3415f2647da54fe7a34abd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3b9b619e86be9419c271b0bb3812014ca317f5c3415f2647da54fe7a34abd9", kill_on_drop: false }` [INFO] [stdout] 1d3b9b619e86be9419c271b0bb3812014ca317f5c3415f2647da54fe7a34abd9