[INFO] fetching crate topaz 0.4.0... [INFO] testing topaz-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate topaz 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate topaz 0.4.0 [INFO] finished tweaking crates.io crate topaz 0.4.0 [INFO] tweaked toml for crates.io crate topaz 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate topaz 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding specs v0.10.0 (available: v0.20.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded specs v0.10.0 [INFO] [stderr] Downloaded hibitset v0.3.2 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded shred-derive v0.3.0 [INFO] [stderr] Downloaded shred v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd44d6327c17033668ee09b2ab4499bd16ed0dd958196744f2825b761a41881b [INFO] running `Command { std: "docker" "start" "-a" "bd44d6327c17033668ee09b2ab4499bd16ed0dd958196744f2825b761a41881b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd44d6327c17033668ee09b2ab4499bd16ed0dd958196744f2825b761a41881b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd44d6327c17033668ee09b2ab4499bd16ed0dd958196744f2825b761a41881b", kill_on_drop: false }` [INFO] [stdout] bd44d6327c17033668ee09b2ab4499bd16ed0dd958196744f2825b761a41881b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57b9448f1e5b0070a7996842cf9d98e9cf7b5726febc8dd11a73c919d0a66a34 [INFO] running `Command { std: "docker" "start" "-a" "57b9448f1e5b0070a7996842cf9d98e9cf7b5726febc8dd11a73c919d0a66a34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling shred-derive v0.3.0 [INFO] [stderr] Compiling hibitset v0.3.2 [INFO] [stderr] Compiling shred v0.5.2 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling specs v0.10.0 [INFO] [stderr] Compiling topaz v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s [INFO] running `Command { std: "docker" "inspect" "57b9448f1e5b0070a7996842cf9d98e9cf7b5726febc8dd11a73c919d0a66a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b9448f1e5b0070a7996842cf9d98e9cf7b5726febc8dd11a73c919d0a66a34", kill_on_drop: false }` [INFO] [stdout] 57b9448f1e5b0070a7996842cf9d98e9cf7b5726febc8dd11a73c919d0a66a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09a6a5bd8795719e1bd8e3f291c6b4f009ba0e979a736d0a1ff9c743687684be [INFO] running `Command { std: "docker" "start" "-a" "09a6a5bd8795719e1bd8e3f291c6b4f009ba0e979a736d0a1ff9c743687684be", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling topaz v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | Switch(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Push(Rc>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | states: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_state(&mut self, state: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Universe` in `topaz` [INFO] [stdout] --> examples/hello-world.rs:14:88 [INFO] [stdout] | [INFO] [stdout] 14 | let mut universe:topaz::Universe = topaz::Universe::new(()); [INFO] [stdout] | ^^^^^^^^ could not find `Universe` in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | impl topaz::System for HelloWorldSystem { [INFO] [stdout] | ^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HasComponents` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | impl topaz::System for HelloWorldSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Event` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | impl topaz::System for HelloWorldSystem { [INFO] [stdout] | ^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Universe` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | fn operate(&self, universe: &mut topaz::Universe, _: Rc) { [INFO] [stdout] | ^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_QUIT` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | universe.do_event(E::with_id(topaz::EVENT_QUIT)); [INFO] [stdout] | ^^^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Universe` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let mut universe:topaz::Universe = topaz::Universe::new(()); [INFO] [stdout] | ^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NullEntity` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | let mut universe:topaz::Universe = topaz::Universe::new(()); [INFO] [stdout] | ^^^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimpleEvent` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | let mut universe:topaz::Universe = topaz::Universe::new(()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_INIT` in crate `topaz` [INFO] [stdout] --> examples/hello-world.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | universe.add_and_subscribe(Rc::new(HelloWorldSystem{}),vec![topaz::EVENT_INIT]); [INFO] [stdout] | ^^^^^^^^^^ not found in `topaz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `topaz` (example "hello-world") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "09a6a5bd8795719e1bd8e3f291c6b4f009ba0e979a736d0a1ff9c743687684be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a6a5bd8795719e1bd8e3f291c6b4f009ba0e979a736d0a1ff9c743687684be", kill_on_drop: false }` [INFO] [stdout] 09a6a5bd8795719e1bd8e3f291c6b4f009ba0e979a736d0a1ff9c743687684be