[INFO] fetching crate tokactor 2.1.0... [INFO] checking tokactor-2.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate tokactor 2.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tokactor 2.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokactor 2.1.0 [INFO] finished tweaking crates.io crate tokactor 2.1.0 [INFO] tweaked toml for crates.io crate tokactor 2.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate tokactor 2.1.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b53df4fe8b8fae44e2ac8607d433838ab8f731699e41c3bcd57f433444412932 [INFO] running `Command { std: "docker" "start" "-a" "b53df4fe8b8fae44e2ac8607d433838ab8f731699e41c3bcd57f433444412932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b53df4fe8b8fae44e2ac8607d433838ab8f731699e41c3bcd57f433444412932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53df4fe8b8fae44e2ac8607d433838ab8f731699e41c3bcd57f433444412932", kill_on_drop: false }` [INFO] [stdout] b53df4fe8b8fae44e2ac8607d433838ab8f731699e41c3bcd57f433444412932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41b58a1477a05868f6a1b592e4ac0d3b25911fc2e7a6249bbfaf81f356dcdeda [INFO] running `Command { std: "docker" "start" "-a" "41b58a1477a05868f6a1b592e4ac0d3b25911fc2e7a6249bbfaf81f356dcdeda", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tokactor v2.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/io/read/exact.rs (1 fix) [INFO] [stderr] Fixed src/envelope.rs (1 fix) [INFO] [stderr] Fixed src/world/mod.rs (2 fixes) [INFO] [stderr] Fixed src/context.rs (1 fix) [INFO] [stderr] Fixed src/single/address.rs (5 fixes) [INFO] [stderr] Fixed src/executor.rs (11 fixes) [INFO] [stderr] Fixed src/io/mod.rs (2 fixes) [INFO] [stderr] Fixed src/address.rs (4 fixes) [INFO] [stderr] Fixed src/io/tcp.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | while let Some(msg) = self.context.mailbox.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executor.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | while let Ok(msg) = self.context.mailbox.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executor.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl io::Component` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/world/mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> std::io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/world/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/add.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/context.rs (2 fixes) [INFO] [stderr] Migrating examples/ping-pong.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/context.rs:815:15 [INFO] [stdout] | [INFO] [stdout] 815 | while let Some(msg) = debuggable.shift_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/context.rs:817:9 [INFO] [stdout] | [INFO] [stdout] 817 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | while let Some(msg) = self.context.mailbox.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executor.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | while let Ok(msg) = self.context.mailbox.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executor.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl io::Component` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/world/mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> std::io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/world/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/max_anonymous_actors.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/ping.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/tcp_world.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/http_world.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/actor.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/wait_for_graceful_exit.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/multi_tcp_world.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/stateful_tcp_world.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/stateful_tcp_world.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | struct State(Arc<()>); [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.90s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tokactor v2.1.0 (/tmp/fixit) [INFO] [stdout] error[E0597]: `world` does not live long enough [INFO] [stdout] --> examples/tcp_world.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 64 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 65 | [INFO] [stdout] 66 | let tcp_input = world [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 67 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] | - `world` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `world` does not live long enough [INFO] [stdout] --> examples/multi_tcp_world.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 148 | [INFO] [stdout] 149 | let tcp_input = world [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 150 | | .tcp_component::("127.0.0.1:8080", Router::default()) [INFO] [stdout] | |_______________________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] | - `world` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `world` does not live long enough [INFO] [stdout] --> examples/http_world.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 87 | [INFO] [stdout] 88 | let tcp_input = world [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 89 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 97 | } [INFO] [stdout] | - `world` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/tcp_world.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] 67 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 70 | world.on_input(tcp_input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/multi_tcp_world.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 149 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] 150 | | .tcp_component::("127.0.0.1:8080", Router::default()) [INFO] [stdout] | |_______________________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 153 | world.on_input(tcp_input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/http_world.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] 89 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 92 | world.on_input(tcp_input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `world` does not live long enough [INFO] [stdout] --> examples/stateful_tcp_world.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 96 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] ... [INFO] [stdout] 103 | let tcp1 = world [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | ________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 104 | | .tcp_component::("127.0.0.1:8080", r1) [INFO] [stdout] | |________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `world` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `world` does not live long enough [INFO] [stdout] --> examples/stateful_tcp_world.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 96 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | let tcp2 = world [INFO] [stdout] | -^^^^ [INFO] [stdout] | | [INFO] [stdout] | ________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 107 | | .tcp_component::("127.0.0.1:8081", r2) [INFO] [stdout] | |________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `world` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/stateful_tcp_world.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 103 | let tcp1 = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | ________________immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] 104 | | .tcp_component::("127.0.0.1:8080", r1) [INFO] [stdout] | |________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 110 | world.on_input(tcp1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/stateful_tcp_world.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 103 | let tcp1 = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | ________________immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] 104 | | .tcp_component::("127.0.0.1:8080", r1) [INFO] [stdout] | |________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 111 | world.on_input(tcp2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `world` because it is borrowed [INFO] [stdout] --> examples/multi_tcp_world.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 147 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 148 | [INFO] [stdout] 149 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________borrow of `world` occurs here [INFO] [stdout] | | [INFO] [stdout] 150 | | .tcp_component::("127.0.0.1:8080", Router::default()) [INFO] [stdout] | |_______________________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 155 | world.block_until_completion(); [INFO] [stdout] | ^^^^^ move out of `world` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `world` because it is borrowed [INFO] [stdout] --> examples/tcp_world.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 64 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 65 | [INFO] [stdout] 66 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________borrow of `world` occurs here [INFO] [stdout] | | [INFO] [stdout] 67 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 72 | world.block_until_completion(); [INFO] [stdout] | ^^^^^ move out of `world` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `world` because it is borrowed [INFO] [stdout] --> examples/http_world.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 86 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] 87 | [INFO] [stdout] 88 | let tcp_input = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | _____________________borrow of `world` occurs here [INFO] [stdout] | | [INFO] [stdout] 89 | | .tcp_component::("127.0.0.1:8080", Router {}) [INFO] [stdout] | |_______________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 94 | world.block_until_completion(); [INFO] [stdout] | ^^^^^ move out of `world` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `world` because it is borrowed [INFO] [stdout] --> examples/stateful_tcp_world.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 96 | let mut world = World::new().unwrap(); [INFO] [stdout] | --------- binding `world` declared here [INFO] [stdout] ... [INFO] [stdout] 103 | let tcp1 = world [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | ________________borrow of `world` occurs here [INFO] [stdout] | | [INFO] [stdout] 104 | | .tcp_component::("127.0.0.1:8080", r1) [INFO] [stdout] | |________________________________________________________________- argument requires that `world` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 113 | world.block_until_completion(); [INFO] [stdout] | ^^^^^ move out of `world` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokactor` (example "tcp_world") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokactor` (example "multi_tcp_world") due to 4 previous errors [INFO] [stderr] error: could not compile `tokactor` (example "http_world") due to 4 previous errors [INFO] [stderr] error: could not compile `tokactor` (example "stateful_tcp_world") due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "41b58a1477a05868f6a1b592e4ac0d3b25911fc2e7a6249bbfaf81f356dcdeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b58a1477a05868f6a1b592e4ac0d3b25911fc2e7a6249bbfaf81f356dcdeda", kill_on_drop: false }` [INFO] [stdout] 41b58a1477a05868f6a1b592e4ac0d3b25911fc2e7a6249bbfaf81f356dcdeda