[INFO] fetching crate protocols 0.0.1... [INFO] checking protocols-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-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 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 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.8) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637eeac84951668491ca048ec05730de9a1b16895d70d021200f12d4b7554c16 [INFO] running `Command { std: "docker" "start" "-a" "637eeac84951668491ca048ec05730de9a1b16895d70d021200f12d4b7554c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637eeac84951668491ca048ec05730de9a1b16895d70d021200f12d4b7554c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637eeac84951668491ca048ec05730de9a1b16895d70d021200f12d4b7554c16", kill_on_drop: false }` [INFO] [stdout] 637eeac84951668491ca048ec05730de9a1b16895d70d021200f12d4b7554c16 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e06ad63c7d7015accf088210d3b1b6d864586c13030dd27241cb2e6c8fe0d6e [INFO] running `Command { std: "docker" "start" "-a" "1e06ad63c7d7015accf088210d3b1b6d864586c13030dd27241cb2e6c8fe0d6e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking signals v0.0.2 [INFO] [stderr] Checking 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)]` 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] 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)]` 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 "receiver") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `protocols` (example "sender") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1e06ad63c7d7015accf088210d3b1b6d864586c13030dd27241cb2e6c8fe0d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e06ad63c7d7015accf088210d3b1b6d864586c13030dd27241cb2e6c8fe0d6e", kill_on_drop: false }` [INFO] [stdout] 1e06ad63c7d7015accf088210d3b1b6d864586c13030dd27241cb2e6c8fe0d6e