[INFO] fetching crate tokactor 2.1.0... [INFO] checking tokactor-2.1.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [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 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fea7be0495546e786cc6f49b3cb8f2bbcf526fe6b1ca353889bdc1d78100d12e [INFO] running `Command { std: "docker" "start" "-a" "fea7be0495546e786cc6f49b3cb8f2bbcf526fe6b1ca353889bdc1d78100d12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fea7be0495546e786cc6f49b3cb8f2bbcf526fe6b1ca353889bdc1d78100d12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea7be0495546e786cc6f49b3cb8f2bbcf526fe6b1ca353889bdc1d78100d12e", kill_on_drop: false }` [INFO] [stdout] fea7be0495546e786cc6f49b3cb8f2bbcf526fe6b1ca353889bdc1d78100d12e [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec59ac245d021d534b70901aef524af486dd47d6db0d40fa31740c3386bb0ac1 [INFO] running `Command { std: "docker" "start" "-a" "ec59ac245d021d534b70901aef524af486dd47d6db0d40fa31740c3386bb0ac1", kill_on_drop: false }` [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] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-io v0.3.28 [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 clap_builder v4.3.19 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking clap v4.3.19 [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 (/opt/rustwide/workdir) [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/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[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[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/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[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: 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] [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] [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 "stateful_tcp_world") due to 6 previous errors [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/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[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] [stderr] error: could not compile `tokactor` (example "http_world") due to 4 previous errors [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[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[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: 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] [stderr] error: could not compile `tokactor` (example "multi_tcp_world") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ec59ac245d021d534b70901aef524af486dd47d6db0d40fa31740c3386bb0ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec59ac245d021d534b70901aef524af486dd47d6db0d40fa31740c3386bb0ac1", kill_on_drop: false }` [INFO] [stdout] ec59ac245d021d534b70901aef524af486dd47d6db0d40fa31740c3386bb0ac1