[INFO] fetching crate protocols 0.0.1... [INFO] building protocols-0.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate protocols 0.0.1 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate protocols 0.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded inotify v0.7.1 [INFO] [stderr] Downloaded fsevent v0.4.0 [INFO] [stderr] Downloaded notify v4.0.18 [INFO] [stderr] Downloaded signals v0.0.2 [INFO] [stderr] Downloaded fsevent-sys v2.0.1 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66a01f58b99bdcc9a5cc0ac2ff034e2ee26402f5482f93e57b3dfa2e81e6b951 [INFO] running `Command { std: "docker" "start" "-a" "66a01f58b99bdcc9a5cc0ac2ff034e2ee26402f5482f93e57b3dfa2e81e6b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66a01f58b99bdcc9a5cc0ac2ff034e2ee26402f5482f93e57b3dfa2e81e6b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a01f58b99bdcc9a5cc0ac2ff034e2ee26402f5482f93e57b3dfa2e81e6b951", kill_on_drop: false }` [INFO] [stdout] 66a01f58b99bdcc9a5cc0ac2ff034e2ee26402f5482f93e57b3dfa2e81e6b951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49f9b95280e89e4dd866d575a5cb60027e0c7fa294fee50f33cd1a663caff37b [INFO] running `Command { std: "docker" "start" "-a" "49f9b95280e89e4dd866d575a5cb60027e0c7fa294fee50f33cd1a663caff37b", 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 object v0.37.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.18 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [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 8.95s [INFO] running `Command { std: "docker" "inspect" "49f9b95280e89e4dd866d575a5cb60027e0c7fa294fee50f33cd1a663caff37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f9b95280e89e4dd866d575a5cb60027e0c7fa294fee50f33cd1a663caff37b", kill_on_drop: false }` [INFO] [stdout] 49f9b95280e89e4dd866d575a5cb60027e0c7fa294fee50f33cd1a663caff37b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47b75f597d7d586f3cdd5585b104489e0cf66a298c98bfc48506e1f1a6b71a94 [INFO] running `Command { std: "docker" "start" "-a" "47b75f597d7d586f3cdd5585b104489e0cf66a298c98bfc48506e1f1a6b71a94", 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] 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/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] [stderr] error: could not compile `protocols` (example "sender") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `protocols` (example "receiver") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "47b75f597d7d586f3cdd5585b104489e0cf66a298c98bfc48506e1f1a6b71a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b75f597d7d586f3cdd5585b104489e0cf66a298c98bfc48506e1f1a6b71a94", kill_on_drop: false }` [INFO] [stdout] 47b75f597d7d586f3cdd5585b104489e0cf66a298c98bfc48506e1f1a6b71a94