[INFO] cloning repository https://github.com/conblem/rust-dyn-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conblem/rust-dyn-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconblem%2Frust-dyn-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconblem%2Frust-dyn-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cd46d6d8a0adc69c7afdbac3e3ba27c9e22d9b4 [INFO] checking conblem/rust-dyn-experiments against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconblem%2Frust-dyn-experiments" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/conblem/rust-dyn-experiments [INFO] finished tweaking git repo https://github.com/conblem/rust-dyn-experiments [INFO] tweaked toml for git repo https://github.com/conblem/rust-dyn-experiments written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/conblem/rust-dyn-experiments on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/conblem/rust-dyn-experiments 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3587aca6afd24ad8c169ed71a3eb967c00f55979dc4e942fbcc6d562872480a6 [INFO] running `Command { std: "docker" "start" "-a" "3587aca6afd24ad8c169ed71a3eb967c00f55979dc4e942fbcc6d562872480a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3587aca6afd24ad8c169ed71a3eb967c00f55979dc4e942fbcc6d562872480a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3587aca6afd24ad8c169ed71a3eb967c00f55979dc4e942fbcc6d562872480a6", kill_on_drop: false }` [INFO] [stdout] 3587aca6afd24ad8c169ed71a3eb967c00f55979dc4e942fbcc6d562872480a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f912b5ba8922f234f7192f42a1d9361f629fec0c884355ce2afd52fafc692495 [INFO] running `Command { std: "docker" "start" "-a" "f912b5ba8922f234f7192f42a1d9361f629fec0c884355ce2afd52fafc692495", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking tuple_list v0.1.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking dyn-experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TypeId` and `type_name` [INFO] [stdout] --> src/graph/systemdeps.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{type_name, Any, TypeId}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/graph/systemdeps.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SuperAny` is never used [INFO] [stdout] --> src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type SuperAny = dyn Any + Send + Sync + 'static; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxAny` is never used [INFO] [stdout] --> src/main.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_any`, `remove`, `get`, `get_any`, and `insert` are never used [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Map { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 89 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn remove_any(&mut self, key: &TypeId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn get_any(&mut self, key: &TypeId) -> Option<&mut SuperAny> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn insert(&mut self, elem: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_box_any` is never used [INFO] [stdout] --> src/dynhash.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait DynHash: DynEq { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 5 | fn as_box_any(self: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `System` is never used [INFO] [stdout] --> src/graph/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait System: 'static { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_deps`, `build`, and `type_id` are never used [INFO] [stdout] --> src/graph/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) trait DynSystemFactory: DynHash { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn has_deps(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | fn build(&self, deps: &mut SmallVec<[Box; 12]>) -> Option>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | fn type_id(&self) -> TypeId; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemFactory` is never constructed [INFO] [stdout] --> src/graph/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct SystemFactory { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/graph/mod.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl SystemFactory { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 63 | pub(crate) fn of() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReactorBuilder` is never constructed [INFO] [stdout] --> src/graph/reactor.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ReactorBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_system`, and `build` are never used [INFO] [stdout] --> src/graph/reactor.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl ReactorBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn add_system(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) fn build(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SystemDeps` is never used [INFO] [stdout] --> src/graph/systemdeps.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait SystemDeps: Tuple { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SystemDepsList` is never used [INFO] [stdout] --> src/graph/systemdeps.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait SystemDepsList: TupleList + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Container` is never constructed [INFO] [stdout] --> src/ordignorehash.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Container { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ordignorehash.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Container { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 9 | fn new(hasher_factory: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SuperTuple` is never used [INFO] [stdout] --> src/supertuple.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SuperTuple<'a>: Tuple { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SuperTupleList` is never used [INFO] [stdout] --> src/supertuple.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | trait SuperTupleList<'a>: TupleList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TypeIds` is never used [INFO] [stdout] --> src/supertuple.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | trait TypeIds<'a, H: 'static, T: SuperTupleList<'a>>: TupleList { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | fn take(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn take(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rt` in `fmt` [INFO] [stdout] --> src/graph/mod.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | use std::fmt::rt::v1::Count::Param; [INFO] [stdout] | ^^ could not find `rt` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeId` and `type_name` [INFO] [stdout] --> src/graph/systemdeps.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{type_name, Any, TypeId}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/graph/systemdeps.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dyn-experiments` (bin "dyn-experiments" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f912b5ba8922f234f7192f42a1d9361f629fec0c884355ce2afd52fafc692495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f912b5ba8922f234f7192f42a1d9361f629fec0c884355ce2afd52fafc692495", kill_on_drop: false }` [INFO] [stdout] f912b5ba8922f234f7192f42a1d9361f629fec0c884355ce2afd52fafc692495