[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ea41fbc213bf44e10f7e801bd2a4e3e5ba5bac5 [INFO] testing TGElder/hanger-lane against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fhanger-lane" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TGElder/hanger-lane on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TGElder/hanger-lane [INFO] removed workspace from git repo https://github.com/TGElder/hanger-lane [INFO] removed path dependency network from 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-0/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b8dfb23aa48dfb76d16481472def45efce77b0897545e10019a8dec2b910258 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b8dfb23aa48dfb76d16481472def45efce77b0897545e10019a8dec2b910258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b8dfb23aa48dfb76d16481472def45efce77b0897545e10019a8dec2b910258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8dfb23aa48dfb76d16481472def45efce77b0897545e10019a8dec2b910258", kill_on_drop: false }` [INFO] [stdout] 0b8dfb23aa48dfb76d16481472def45efce77b0897545e10019a8dec2b910258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 223fca2f12f2c81b11cba4af54791ce83342c1b37583cea9377e55e32bafe188 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "223fca2f12f2c81b11cba4af54791ce83342c1b37583cea9377e55e32bafe188", kill_on_drop: false }` [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 ucd-util v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling network v0.1.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rusttype v0.2.4 [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 num-rational v0.1.42 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling piston2d-graphics v0.24.0 [INFO] [stderr] Compiling pistoncore-window v0.30.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.35.0 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling piston v0.35.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling hamcrest v0.1.5 [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 piston2d-opengl_graphics v0.50.0 [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] error[E0432]: unresolved import `network::Edge` [INFO] [stdout] --> src/city.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use network::Edge; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Edge` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `network::Network` [INFO] [stdout] --> src/steps/lookahead_driver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use network::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Network` in the root [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] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn VehicleUpdate` [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SimulationStep` [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^^^ help: use `dyn`: `dyn Timer` [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] | ^^^^^ help: use `dyn`: `dyn Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hanger_lane`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "223fca2f12f2c81b11cba4af54791ce83342c1b37583cea9377e55e32bafe188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223fca2f12f2c81b11cba4af54791ce83342c1b37583cea9377e55e32bafe188", kill_on_drop: false }` [INFO] [stdout] 223fca2f12f2c81b11cba4af54791ce83342c1b37583cea9377e55e32bafe188