[INFO] cloning repository https://github.com/CayzerOK/THEngine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CayzerOK/THEngine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCayzerOK%2FTHEngine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCayzerOK%2FTHEngine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a032be39e0f30ef615bcc9dad3a5616e33b029f [INFO] checking CayzerOK/THEngine against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCayzerOK%2FTHEngine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CayzerOK/THEngine on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CayzerOK/THEngine [INFO] finished tweaking git repo https://github.com/CayzerOK/THEngine [INFO] tweaked toml for git repo https://github.com/CayzerOK/THEngine written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/CayzerOK/THEngine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.3 [INFO] [stderr] Downloaded winit v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23fd5208bd5d302f29ca804932a8bc5edb6ff656acdf1d52f68b18da61032a3e [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" "23fd5208bd5d302f29ca804932a8bc5edb6ff656acdf1d52f68b18da61032a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23fd5208bd5d302f29ca804932a8bc5edb6ff656acdf1d52f68b18da61032a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23fd5208bd5d302f29ca804932a8bc5edb6ff656acdf1d52f68b18da61032a3e", kill_on_drop: false }` [INFO] [stdout] 23fd5208bd5d302f29ca804932a8bc5edb6ff656acdf1d52f68b18da61032a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e48bf864aa5c6db793b0be5b3110bd36a4fd303d8df60af2f55a15d367f938f [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" "8e48bf864aa5c6db793b0be5b3110bd36a4fd303d8df60af2f55a15d367f938f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking instant v0.1.3 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.1 [INFO] [stderr] Checking train_head_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/engine/config.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | json::parse(path).unwrap() [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/engine/config.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | json::parse(path).unwrap() [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Config` in the current scope [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | const CONFIG : JsonValue = Config::new("Hello"); [INFO] [stdout] | ^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] ::: src/engine/config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Config; [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `str` to `&str` [INFO] [stdout] --> src/engine/config.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let mut f = File::open("config/"+*name)?; [INFO] [stdout] | ---------^----- str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/engine/config.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn get(name:&str) -> JsonValue { [INFO] [stdout] 9 | | let mut f = File::open("config/"+*name)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `JsonValue` [INFO] [stdout] 10 | | println!("{}", "config/"+*name); [INFO] [stdout] 11 | | let mut buffer = String::new(); [INFO] [stdout] 12 | | f.read_to_string(&mut buffer)?; [INFO] [stdout] 13 | | json::parse(path).unwrap() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `JsonValue` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `str` to `&str` [INFO] [stdout] --> src/engine/config.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | println!("{}", "config/"+*name); [INFO] [stdout] | ---------^----- str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/engine/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn get(name:&str) -> JsonValue { [INFO] [stdout] 9 | | let mut f = File::open("config/"+*name)?; [INFO] [stdout] 10 | | println!("{}", "config/"+*name); [INFO] [stdout] 11 | | let mut buffer = String::new(); [INFO] [stdout] 12 | | f.read_to_string(&mut buffer)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `JsonValue` [INFO] [stdout] 13 | | json::parse(path).unwrap() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `JsonValue` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Config` in the current scope [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | const CONFIG : JsonValue = Config::new("Hello"); [INFO] [stdout] | ^^^ function or associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] ::: src/engine/config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Config; [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `train_head_engine` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0369]: cannot add `str` to `&str` [INFO] [stdout] --> src/engine/config.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let mut f = File::open("config/"+*name)?; [INFO] [stdout] | ---------^----- str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/engine/config.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn get(name:&str) -> JsonValue { [INFO] [stdout] 9 | | let mut f = File::open("config/"+*name)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `JsonValue` [INFO] [stdout] 10 | | println!("{}", "config/"+*name); [INFO] [stdout] 11 | | let mut buffer = String::new(); [INFO] [stdout] 12 | | f.read_to_string(&mut buffer)?; [INFO] [stdout] 13 | | json::parse(path).unwrap() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `JsonValue` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `str` to `&str` [INFO] [stdout] --> src/engine/config.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | println!("{}", "config/"+*name); [INFO] [stdout] | ---------^----- str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/engine/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn get(name:&str) -> JsonValue { [INFO] [stdout] 9 | | let mut f = File::open("config/"+*name)?; [INFO] [stdout] 10 | | println!("{}", "config/"+*name); [INFO] [stdout] 11 | | let mut buffer = String::new(); [INFO] [stdout] 12 | | f.read_to_string(&mut buffer)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `JsonValue` [INFO] [stdout] 13 | | json::parse(path).unwrap() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `JsonValue` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8e48bf864aa5c6db793b0be5b3110bd36a4fd303d8df60af2f55a15d367f938f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e48bf864aa5c6db793b0be5b3110bd36a4fd303d8df60af2f55a15d367f938f", kill_on_drop: false }` [INFO] [stdout] 8e48bf864aa5c6db793b0be5b3110bd36a4fd303d8df60af2f55a15d367f938f