[INFO] cloning repository https://github.com/rschifflin/rust-pubsub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rschifflin/rust-pubsub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frschifflin%2Frust-pubsub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frschifflin%2Frust-pubsub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b07e4f397f298b5bfc7e977b2a18db0a64d010e1 [INFO] checking rschifflin/rust-pubsub/b07e4f397f298b5bfc7e977b2a18db0a64d010e1 against master#f5d3fe273b8b9e7125bf8856d44793b6cc4b6735 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frschifflin%2Frust-pubsub" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rschifflin/rust-pubsub on toolchain f5d3fe273b8b9e7125bf8856d44793b6cc4b6735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rschifflin/rust-pubsub [INFO] finished tweaking git repo https://github.com/rschifflin/rust-pubsub [INFO] tweaked toml for git repo https://github.com/rschifflin/rust-pubsub written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rschifflin/rust-pubsub 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" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6b66aabfec803e197e50015abfe9500ef2b2675148ec12df7d1afdb5c8cc277 [INFO] running `Command { std: "docker" "start" "-a" "d6b66aabfec803e197e50015abfe9500ef2b2675148ec12df7d1afdb5c8cc277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6b66aabfec803e197e50015abfe9500ef2b2675148ec12df7d1afdb5c8cc277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b66aabfec803e197e50015abfe9500ef2b2675148ec12df7d1afdb5c8cc277", kill_on_drop: false }` [INFO] [stdout] d6b66aabfec803e197e50015abfe9500ef2b2675148ec12df7d1afdb5c8cc277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07fc1e1d99e09f7e4b6b01991f9dbff483f26c2831a7b12bf32bfdc85c5edd8 [INFO] running `Command { std: "docker" "start" "-a" "e07fc1e1d99e09f7e4b6b01991f9dbff483f26c2831a7b12bf32bfdc85c5edd8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking pubsub v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(std_misc)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `&[Event]` to `Vec>` [INFO] [stdout] --> src/lib.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | self.event_queue = head + &*tail; [INFO] [stdout] | ---- ^ ------ &[Event] [INFO] [stdout] | | [INFO] [stdout] | Vec> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Vec>` doesn't implement `Add<&[Event]>` [INFO] [stdout] --> /rustc/f5d3fe273b8b9e7125bf8856d44793b6cc4b6735/library/alloc/src/vec/mod.rs:409:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Add<&[Event]>` [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a, Context, Channel: Hash + Eq + Clone, Payload: Clone> Pubsub<'a, Context, Channel, Payload> where Vec>: Add<&[Event], Output = Vec>> { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(std_misc)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pubsub` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0369]: cannot add `&[Event]` to `Vec>` [INFO] [stdout] --> src/lib.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | self.event_queue = head + &*tail; [INFO] [stdout] | ---- ^ ------ &[Event] [INFO] [stdout] | | [INFO] [stdout] | Vec> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Vec>` doesn't implement `Add<&[Event]>` [INFO] [stdout] --> /rustc/f5d3fe273b8b9e7125bf8856d44793b6cc4b6735/library/alloc/src/vec/mod.rs:409:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Add<&[Event]>` [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a, Context, Channel: Hash + Eq + Clone, Payload: Clone> Pubsub<'a, Context, Channel, Payload> where Vec>: Add<&[Event], Output = Vec>> { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | fn noop_listener(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | fn noop_listener(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | fn listener(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | fn listener(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:175:56 [INFO] [stdout] | [INFO] [stdout] 175 | fn listener_with_triggers(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:183:48 [INFO] [stdout] | [INFO] [stdout] 183 | fn plain_listener(context: &mut TestContext, msg: String) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pubsub` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e07fc1e1d99e09f7e4b6b01991f9dbff483f26c2831a7b12bf32bfdc85c5edd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07fc1e1d99e09f7e4b6b01991f9dbff483f26c2831a7b12bf32bfdc85c5edd8", kill_on_drop: false }` [INFO] [stdout] e07fc1e1d99e09f7e4b6b01991f9dbff483f26c2831a7b12bf32bfdc85c5edd8