[INFO] updating cached repository TGElder/hanger-lane [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/TGElder/hanger-lane [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/TGElder/hanger-lane" "work/ex/beta-1.38-1/sources/1.37.0/gh/TGElder/hanger-lane"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/TGElder/hanger-lane'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/TGElder/hanger-lane" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TGElder/hanger-lane"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TGElder/hanger-lane'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0ea41fbc213bf44e10f7e801bd2a4e3e5ba5bac5 [INFO] sha for GitHub repo TGElder/hanger-lane: 0ea41fbc213bf44e10f7e801bd2a4e3e5ba5bac5 [INFO] validating manifest of TGElder/hanger-lane on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of TGElder/hanger-lane on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing TGElder/hanger-lane [INFO] removed workspace from TGElder/hanger-lane [INFO] removed path dependency network from TGElder/hanger-lane [INFO] finished frobbing TGElder/hanger-lane [INFO] frobbed toml for TGElder/hanger-lane written to work/ex/beta-1.38-1/sources/1.37.0/gh/TGElder/hanger-lane/Cargo.toml [INFO] started frobbing TGElder/hanger-lane [INFO] removed workspace from TGElder/hanger-lane [INFO] removed path dependency network from TGElder/hanger-lane [INFO] finished frobbing TGElder/hanger-lane [INFO] frobbed toml for TGElder/hanger-lane written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/TGElder/hanger-lane/Cargo.toml [INFO] crate TGElder/hanger-lane already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/TGElder/hanger-lane/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing TGElder/hanger-lane against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/TGElder/hanger-lane:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 064f2204873704c779ad6fa8e7d1500a6956b5a3307555b803d81b6cbff2a4b0 [INFO] running `"docker" "start" "-a" "064f2204873704c779ad6fa8e7d1500a6956b5a3307555b803d81b6cbff2a4b0"` [INFO] [stderr] warning: dependency (network) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling network v0.0.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling hamcrest v0.1.5 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rusttype v0.2.3 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] warning[E0311]: the parameter type `K` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `K` [INFO] [stderr] note: the parameter type `K` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0311]: the parameter type `V` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `V` [INFO] [stderr] note: the parameter type `V` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling pistoncore-window v0.30.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.35.0 [INFO] [stderr] Compiling piston2d-graphics v0.24.0 [INFO] [stderr] Compiling piston v0.35.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.43.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.50.0 [INFO] [stderr] Compiling hanger_lane v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `network::Edge` [INFO] [stderr] --> src/city.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use network::Edge; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Edge` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `network::Network` [INFO] [stderr] --> src/steps/lookahead_driver.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use network::Network; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Network` in the root [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulation.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | pub rng: Box, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulation.rs:21:86 [INFO] [stderr] | [INFO] [stderr] 21 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulation.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | pub updates: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn VehicleUpdate` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulation.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | pub steps: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SimulationStep` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/lookahead_driver.rs:47:86 [INFO] [stderr] | [INFO] [stderr] 47 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, rng: &mut Box) { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/block_occupier.rs:17:87 [INFO] [stderr] | [INFO] [stderr] 17 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/block_occupier.rs:37:87 [INFO] [stderr] | [INFO] [stderr] 37 | fn update(&self, vehicle: &mut Vehicle, occupancy: &mut Occupancy, _rng: &mut Box) { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/traffic_lights.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | timer: RefCell>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Timer` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/steps/traffic_lights.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(nodes: Vec>, timer: RefCell>, occupancy: &mut Occupancy) -> TrafficLights { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Timer` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `hanger_lane`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "064f2204873704c779ad6fa8e7d1500a6956b5a3307555b803d81b6cbff2a4b0"` [INFO] running `"docker" "rm" "-f" "064f2204873704c779ad6fa8e7d1500a6956b5a3307555b803d81b6cbff2a4b0"` [INFO] [stdout] 064f2204873704c779ad6fa8e7d1500a6956b5a3307555b803d81b6cbff2a4b0