[INFO] cloning repository https://github.com/Blackpers/Smart_road
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blackpers/Smart_road" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackpers%2FSmart_road", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackpers%2FSmart_road'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 398e532e15f6a307999b63a33d18e74b179952f3
[INFO] testing Blackpers/Smart_road against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackpers%2FSmart_road" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  51% (1565/3031)
Updating files:  52% (1577/3031)
Updating files:  53% (1607/3031)
Updating files:  54% (1637/3031)
Updating files:  55% (1668/3031)
Updating files:  55% (1686/3031)
Updating files:  56% (1698/3031)
Updating files:  57% (1728/3031)
Updating files:  58% (1758/3031)
Updating files:  59% (1789/3031)
Updating files:  60% (1819/3031)
Updating files:  61% (1849/3031)
Updating files:  62% (1880/3031)
Updating files:  63% (1910/3031)
Updating files:  64% (1940/3031)
Updating files:  65% (1971/3031)
Updating files:  66% (2001/3031)
Updating files:  67% (2031/3031)
Updating files:  67% (2057/3031)
Updating files:  68% (2062/3031)
Updating files:  69% (2092/3031)
Updating files:  70% (2122/3031)
Updating files:  71% (2153/3031)
Updating files:  72% (2183/3031)
Updating files:  73% (2213/3031)
Updating files:  74% (2243/3031)
Updating files:  75% (2274/3031)
Updating files:  76% (2304/3031)
Updating files:  77% (2334/3031)
Updating files:  78% (2365/3031)
Updating files:  79% (2395/3031)
Updating files:  80% (2425/3031)
Updating files:  81% (2456/3031)
Updating files:  82% (2486/3031)
Updating files:  83% (2516/3031)
Updating files:  84% (2547/3031)
Updating files:  85% (2577/3031)
Updating files:  86% (2607/3031)
Updating files:  87% (2637/3031)
Updating files:  88% (2668/3031)
Updating files:  89% (2698/3031)
Updating files:  90% (2728/3031)
Updating files:  91% (2759/3031)
Updating files:  92% (2789/3031)
Updating files:  93% (2819/3031)
Updating files:  94% (2850/3031)
Updating files:  95% (2880/3031)
Updating files:  96% (2910/3031)
Updating files:  97% (2941/3031)
Updating files:  98% (2971/3031)
Updating files:  99% (3001/3031)
Updating files: 100% (3031/3031)
Updating files: 100% (3031/3031), done.
[INFO] started tweaking git repo https://github.com/Blackpers/Smart_road
[INFO] finished tweaking git repo https://github.com/Blackpers/Smart_road
[INFO] tweaked toml for git repo https://github.com/Blackpers/Smart_road written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Blackpers/Smart_road on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Blackpers/Smart_road 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc82fbd3b39d950c5c4ab8dc833c0bb1ca782c9152e9117bcb1d74b8d3ae9cdc
[INFO] running `Command { std: "docker" "start" "-a" "dc82fbd3b39d950c5c4ab8dc833c0bb1ca782c9152e9117bcb1d74b8d3ae9cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc82fbd3b39d950c5c4ab8dc833c0bb1ca782c9152e9117bcb1d74b8d3ae9cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc82fbd3b39d950c5c4ab8dc833c0bb1ca782c9152e9117bcb1d74b8d3ae9cdc", kill_on_drop: false }`
[INFO] [stdout] dc82fbd3b39d950c5c4ab8dc833c0bb1ca782c9152e9117bcb1d74b8d3ae9cdc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed13b374cdb2670b9f3329c17dea70554784c39df729009d410ce7869907cfd6
[INFO] running `Command { std: "docker" "start" "-a" "ed13b374cdb2670b9f3329c17dea70554784c39df729009d410ce7869907cfd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling smart-road v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `time_to_collision`
[INFO] [stdout]   --> src/collision.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |                         let time_to_collision = if rel_speed > 0.0 { separing_distance as f64 / rel_speed } else { f64::INFINITY };
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_to_collision`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_offset` is never read
[INFO] [stdout]   --> src/debug.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         y_offset += toggle_surface.height() as i32 + 10;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/mapeditor.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/mapeditor.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             AssetType::Fontaine => "fontaine",
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] 54 |             AssetType::Appartement => "appartement",
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] 55 |             AssetType::Building1 => "building_1",
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] 56 |             AssetType::CoffeeShop => "coffee_shop",
[INFO] [stdout]    |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 63 |             _ => {
[INFO] [stdout]    |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buildings_texture`
[INFO] [stdout]    --> src/mapeditor.rs:287:103
[INFO] [stdout]     |
[INFO] [stdout] 287 | ...t: Option<&Font>, buildings_texture: Option<&sdl2::render::Texture>, asset_manager: Option<&crate::loadassets::AssetManager>) -> Resul...
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buildings_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `event_number` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |             let mut event_number = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_event_number` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `event_number` is never read
[INFO] [stdout]    --> src/main.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 event_number += 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `debug_menu`
[INFO] [stdout]    --> src/main.rs:398:144
[INFO] [stdout]     |
[INFO] [stdout] 398 | ... f64, show_hitbox: bool, debug_menu: &DebugMenu) -> Vec<Car> {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_menu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pointille_width` should have an upper case name
[INFO] [stdout]  --> src/cars.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub static pointille_width: i32 = 2;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POINTILLE_WIDTH`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `pointille_length` should have an upper case name
[INFO] [stdout]  --> src/cars.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub static pointille_length: i32 = 20;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POINTILLE_LENGTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `voie_width` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub static voie_width: i32 = 50;
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to upper case: `VOIE_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `voie_length` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub static voie_length: i32 = 1000;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `VOIE_LENGTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `road_width` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub static road_width: i32 = 3*voie_width + 4*pointille_width;
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to upper case: `ROAD_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `road_length` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub static road_length: i32 = 1000;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `ROAD_LENGTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `sidewalk_width` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub static sidewalk_width: i32 = 20;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SIDEWALK_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `carrefour_start` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub static carrefour_start: i32 = (1000-road_width)/2;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARREFOUR_START`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `carrefour_end` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub static carrefour_end: i32 = carrefour_start + road_width;
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARREFOUR_END`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `car_width` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub static car_width: i32 = 50;
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper case: `CAR_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `car_length` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub static car_length: i32 = 50;
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to upper case: `CAR_LENGTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `base_speed` should have an upper case name
[INFO] [stdout]   --> src/cars.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | static mut base_speed: i32 = 5;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 28 - static mut base_speed: i32 = 5;
[INFO] [stdout] 28 + static mut BASE_SPEED: i32 = 5;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcDPGBna/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-f8dd111aa1eebc08,libmemchr-f04d4ed0ff57c3c8,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libserde-2338d1367b005fe5,libserde_core-89637146ece38bd9,libsdl2-73de180bc2595ee8,libsdl2_sys-4763b038c9088fa3,libbitflags-e2b4db6c651223da,liblazy_static-b3603208c0de2608,librand-5ee0e96bc539667c,librand_chacha-e7d587404116cf45,libppv_lite86-1f94671457ce84ff,libzerocopy-cce06fb2122f9e8f,librand_core-c609b71e41925644,libgetrandom-9f59009a6c4e34ca,liblibc-e2775a15e5abc6fd,libcfg_if-666d36e5ee0df220}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcDPGBna/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/smart_road-16113a7869b96bcd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_ttf
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-road` (bin "smart-road") due to 1 previous error; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ed13b374cdb2670b9f3329c17dea70554784c39df729009d410ce7869907cfd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed13b374cdb2670b9f3329c17dea70554784c39df729009d410ce7869907cfd6", kill_on_drop: false }`
[INFO] [stdout] ed13b374cdb2670b9f3329c17dea70554784c39df729009d410ce7869907cfd6
