[INFO] cloning repository https://github.com/TGElder/hanger-lane [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TGElder/hanger-lane" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fhanger-lane", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fhanger-lane'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1630f503fed6458cbf34c879ebc0955d1b40c9c [INFO] building TGElder/hanger-lane against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fhanger-lane" "/workspace/builds/worker-79/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-79/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TGElder/hanger-lane on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TGElder/hanger-lane [INFO] finished tweaking git repo https://github.com/TGElder/hanger-lane [INFO] tweaked toml for git repo https://github.com/TGElder/hanger-lane written to /workspace/builds/worker-79/source/Cargo.toml [INFO] crate git repo https://github.com/TGElder/hanger-lane already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vecmath v0.3.1 [INFO] [stderr] Downloaded pistoncore-window v0.30.0 [INFO] [stderr] Downloaded piston2d-graphics v0.24.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.50.0 [INFO] [stderr] Downloaded piston-texture v0.6.0 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.35.0 [INFO] [stderr] Downloaded piston-viewport v0.3.0 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded gl v0.7.0 [INFO] [stderr] Downloaded clap v2.31.2 [INFO] [stderr] Downloaded rusttype v0.2.4 [INFO] [stderr] Downloaded core-foundation v0.4.6 [INFO] [stderr] Downloaded core-foundation-sys v0.4.6 [INFO] [stderr] Downloaded pistoncore-input v0.20.0 [INFO] [stderr] Downloaded x11-dl v2.19.0 [INFO] [stderr] Downloaded shader_version v0.3.0 [INFO] [stderr] Downloaded piston v0.35.0 [INFO] [stderr] Downloaded read_color v1.0.0 [INFO] [stderr] Downloaded stb_truetype v0.2.8 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.43.0 [INFO] [stderr] Downloaded dwmapi-sys v0.1.1 [INFO] [stderr] Downloaded khronos_api v0.0.8 [INFO] [stderr] Downloaded gl_generator v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e87bf7f79809ac55e2d95ef4effb0df114aaac9c4e8563a57ec54e95d86c5bc [INFO] running `Command { std: "docker" "start" "-a" "8e87bf7f79809ac55e2d95ef4effb0df114aaac9c4e8563a57ec54e95d86c5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e87bf7f79809ac55e2d95ef4effb0df114aaac9c4e8563a57ec54e95d86c5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e87bf7f79809ac55e2d95ef4effb0df114aaac9c4e8563a57ec54e95d86c5bc", kill_on_drop: false }` [INFO] [stdout] 8e87bf7f79809ac55e2d95ef4effb0df114aaac9c4e8563a57ec54e95d86c5bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 584a7b0e80d11482411b93d3f431344e69096344eef18f77f65d2224b4936394 [INFO] running `Command { std: "docker" "start" "-a" "584a7b0e80d11482411b93d3f431344e69096344eef18f77f65d2224b4936394", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling x11-dl v2.19.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling rusttype v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling piston2d-graphics v0.24.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling hamcrest v0.1.5 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling network v0.1.0 (/opt/rustwide/workdir/network) [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.50.0 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling pistoncore-window v0.30.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.35.0 [INFO] [stderr] Compiling piston v0.35.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling pistoncore-glutin_window v0.43.0 [INFO] [stderr] Compiling hanger_lane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub rng: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub rng: Box, [INFO] [stdout] 13 + pub rng: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub updates: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub updates: Vec>, [INFO] [stdout] 25 + pub updates: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub steps: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub steps: Vec>, [INFO] [stdout] 43 + pub steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | timer: RefCell>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - timer: RefCell>, [INFO] [stdout] 13 + timer: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:21:86 [INFO] [stdout] | [INFO] [stdout] 21 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] 21 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:47:86 [INFO] [stdout] | [INFO] [stdout] 47 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] 47 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:17:87 [INFO] [stdout] | [INFO] [stdout] 17 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 17 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:37:87 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 37 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] 19 + pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/city.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/city.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:144:34 [INFO] [stdout] | [INFO] [stdout] 144 | let vehicle_updates: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - let vehicle_updates: Vec> = vec![ [INFO] [stdout] 144 + let vehicle_updates: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "584a7b0e80d11482411b93d3f431344e69096344eef18f77f65d2224b4936394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584a7b0e80d11482411b93d3f431344e69096344eef18f77f65d2224b4936394", kill_on_drop: false }` [INFO] [stdout] 584a7b0e80d11482411b93d3f431344e69096344eef18f77f65d2224b4936394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ab2cb742c0c3ea27bfc21ba3a45cf90d40842a584785e23cb84631a721f393e [INFO] running `Command { std: "docker" "start" "-a" "9ab2cb742c0c3ea27bfc21ba3a45cf90d40842a584785e23cb84631a721f393e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub rng: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub rng: Box, [INFO] [stdout] 13 + pub rng: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hanger_lane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub updates: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub updates: Vec>, [INFO] [stdout] 25 + pub updates: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub steps: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub steps: Vec>, [INFO] [stdout] 43 + pub steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | timer: RefCell>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - timer: RefCell>, [INFO] [stdout] 13 + timer: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:21:86 [INFO] [stdout] | [INFO] [stdout] 21 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] 21 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:47:86 [INFO] [stdout] | [INFO] [stdout] 47 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] 47 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:17:87 [INFO] [stdout] | [INFO] [stdout] 17 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 17 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:37:87 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 37 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] 19 + pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/city.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/city.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:144:34 [INFO] [stdout] | [INFO] [stdout] 144 | let vehicle_updates: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - let vehicle_updates: Vec> = vec![ [INFO] [stdout] 144 + let vehicle_updates: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/city.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | let mut cells = Vec::with_capacity((city.width * city.height * 4)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - let mut cells = Vec::with_capacity((city.width * city.height * 4)); [INFO] [stdout] 136 + let mut cells = Vec::with_capacity(city.width * city.height * 4); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub rng: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub rng: Box, [INFO] [stdout] 13 + pub rng: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub updates: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub updates: Vec>, [INFO] [stdout] 25 + pub updates: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub steps: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub steps: Vec>, [INFO] [stdout] 43 + pub steps: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | timer: RefCell>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - timer: RefCell>, [INFO] [stdout] 13 + timer: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulation.rs:21:86 [INFO] [stdout] | [INFO] [stdout] 21 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] 21 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:47:86 [INFO] [stdout] | [INFO] [stdout] 47 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] 47 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:17:87 [INFO] [stdout] | [INFO] [stdout] 17 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 17 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:37:87 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] 37 + fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] 19 + pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:96:117 [INFO] [stdout] | [INFO] [stdout] 96 | fn init(lookahead: usize, vehicle: usize, destination: Vec) -> (LookaheadDriver, Vehicle, Occupancy, Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - fn init(lookahead: usize, vehicle: usize, destination: Vec) -> (LookaheadDriver, Vehicle, Occupancy, Box) { [INFO] [stdout] 96 + fn init(lookahead: usize, vehicle: usize, destination: Vec) -> (LookaheadDriver, Vehicle, Occupancy, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 100 + let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 267 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/lookahead_driver.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 289 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 65 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 78 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 92 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 107 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 121 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 136 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/block_occupier.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | let mut rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 152 + let mut rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 109 + let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steps/traffic_lights.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let rng: Box = Box::new(rand::thread_rng()); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] 129 + let rng: Box = Box::new(rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/city.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `City` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/city.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hanger_lane-d6204dc9f1d07f35) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-46e8d5f96fd7ea46) [INFO] running `Command { std: "docker" "inspect" "9ab2cb742c0c3ea27bfc21ba3a45cf90d40842a584785e23cb84631a721f393e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab2cb742c0c3ea27bfc21ba3a45cf90d40842a584785e23cb84631a721f393e", kill_on_drop: false }` [INFO] [stdout] 9ab2cb742c0c3ea27bfc21ba3a45cf90d40842a584785e23cb84631a721f393e