[INFO] cloning repository https://github.com/EngineOrion/container [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EngineOrion/container" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineOrion%2Fcontainer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineOrion%2Fcontainer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed35e5dbd4f1d0cb328ea40c889e10185d3c9140 [INFO] checking EngineOrion/container against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineOrion%2Fcontainer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EngineOrion/container on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EngineOrion/container [INFO] finished tweaking git repo https://github.com/EngineOrion/container [INFO] tweaked toml for git repo https://github.com/EngineOrion/container written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/EngineOrion/container already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71656cf807c25da762a818b75ed941b233b5249bd69e4bf4637e674a03578c2e [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" "71656cf807c25da762a818b75ed941b233b5249bd69e4bf4637e674a03578c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71656cf807c25da762a818b75ed941b233b5249bd69e4bf4637e674a03578c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71656cf807c25da762a818b75ed941b233b5249bd69e4bf4637e674a03578c2e", kill_on_drop: false }` [INFO] [stdout] 71656cf807c25da762a818b75ed941b233b5249bd69e4bf4637e674a03578c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edaf1b4e29db2f1b85cdaf494bd21d74a767f10a37d8a69a01246e85d5fe0d21 [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" "edaf1b4e29db2f1b85cdaf494bd21d74a767f10a37d8a69a01246e85d5fe0d21", kill_on_drop: false }` [INFO] [stderr] Checking container v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `add_function` in module `self` [INFO] [stdout] --> src/execute.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_function` in module `self` [INFO] [stdout] --> src/execute.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn jit(code: String) -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Function`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn jit(code: String) -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Defun`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn jit(code: String) -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Function`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | first_bracket_pos = pos; [INFO] [stdout] | ^^^ expected `i32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn jit(code: String) -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Defun`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | first_bracket_pos = pos; [INFO] [stdout] | ^^^ expected `i32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^ expected `i32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `std::ops::Range` [INFO] [stdout] --> src/execute.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `String` cannot be indexed by `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/execute.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^ expected `i32`, found `usize` [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, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `std::ops::Range` [INFO] [stdout] --> src/execute.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | self::add_function(Defun::jit(code[first_bracket_pos + 1..pos - 1])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `String` cannot be indexed by `std::ops::Range` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `container` [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [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" "edaf1b4e29db2f1b85cdaf494bd21d74a767f10a37d8a69a01246e85d5fe0d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edaf1b4e29db2f1b85cdaf494bd21d74a767f10a37d8a69a01246e85d5fe0d21", kill_on_drop: false }` [INFO] [stdout] edaf1b4e29db2f1b85cdaf494bd21d74a767f10a37d8a69a01246e85d5fe0d21