[INFO] fetching crate event_dispatcher 0.0.2... [INFO] testing event_dispatcher-0.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate event_dispatcher 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate event_dispatcher 0.0.2 [INFO] finished tweaking crates.io crate event_dispatcher 0.0.2 [INFO] tweaked toml for crates.io crate event_dispatcher 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate event_dispatcher 0.0.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dce7a2ce2aa30f3ddb9591bbea6149063834f61dd52f2b333f677c35b58474cb [INFO] running `Command { std: "docker" "start" "-a" "dce7a2ce2aa30f3ddb9591bbea6149063834f61dd52f2b333f677c35b58474cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce7a2ce2aa30f3ddb9591bbea6149063834f61dd52f2b333f677c35b58474cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce7a2ce2aa30f3ddb9591bbea6149063834f61dd52f2b333f677c35b58474cb", kill_on_drop: false }` [INFO] [stdout] dce7a2ce2aa30f3ddb9591bbea6149063834f61dd52f2b333f677c35b58474cb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 106fd3bb425800228f1adf83d8e8e363c6be5600061b081cee77dd9b98adaa9f [INFO] running `Command { std: "docker" "start" "-a" "106fd3bb425800228f1adf83d8e8e363c6be5600061b081cee77dd9b98adaa9f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling event_dispatcher v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::intrinsics::TypeId` [INFO] [stdout] --> src/dispatcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::intrinsics::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeId` in `intrinsics` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 5 - use std::intrinsics::TypeId; [INFO] [stdout] 5 + use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/listener.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Listener, T: ?Sized>{ [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dispatcher.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | for l in listeners.iter() { [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dispatcher.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | false => { l.call(event); } [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&mut _` [INFO] [stdout] --> src/dispatcher.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut el = o.get_mut(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | el.push(rc); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `el` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 53 | let mut el: &mut V = o.get_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dispatcher.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | el.sort_by(|a, b| b.get_priority().cmp(&a.get_priority())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | el.sort_by(|a, b: /* Type */| b.get_priority().cmp(&a.get_priority())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dispatcher.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | el.sort_by(|a, b| b.get_priority().cmp(&a.get_priority())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | el.sort_by(|a: /* Type */, b| b.get_priority().cmp(&a.get_priority())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&mut _` [INFO] [stdout] --> src/dispatcher.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut listeners = o.get_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 74 | let mut idx: usize = 0; [INFO] [stdout] 75 | for l in listeners.iter(){ [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listeners` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 73 | let mut listeners: &mut V = o.get_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dispatcher.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | Some(l) => if l.len() > 0 { true } else { false }, [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event_dispatcher` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "106fd3bb425800228f1adf83d8e8e363c6be5600061b081cee77dd9b98adaa9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106fd3bb425800228f1adf83d8e8e363c6be5600061b081cee77dd9b98adaa9f", kill_on_drop: false }` [INFO] [stdout] 106fd3bb425800228f1adf83d8e8e363c6be5600061b081cee77dd9b98adaa9f