[INFO] cloning repository https://github.com/AMTitan/Tetris-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AMTitan/Tetris-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAMTitan%2FTetris-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAMTitan%2FTetris-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a15ef91878453564cf93644e48cb41ad556f404c [INFO] testing AMTitan/Tetris-os against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAMTitan%2FTetris-os" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AMTitan/Tetris-os on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/AMTitan/Tetris-os [INFO] finished tweaking git repo https://github.com/AMTitan/Tetris-os [INFO] tweaked toml for git repo https://github.com/AMTitan/Tetris-os written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/AMTitan/Tetris-os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pic8259 v0.10.2 [INFO] [stderr] Downloaded x86_64 v0.14.6 [INFO] [stderr] Downloaded volatile v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e2ee8a4890891fd086184d8d994a52f0c74138658917d8fdb391c682131003 [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" "26e2ee8a4890891fd086184d8d994a52f0c74138658917d8fdb391c682131003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e2ee8a4890891fd086184d8d994a52f0c74138658917d8fdb391c682131003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e2ee8a4890891fd086184d8d994a52f0c74138658917d8fdb391c682131003", kill_on_drop: false }` [INFO] [stdout] 26e2ee8a4890891fd086184d8d994a52f0c74138658917d8fdb391c682131003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 146e387e0c8f576831c98340dfea343281c7b389f5c81f53e87ae58b433a1a37 [INFO] running `Command { std: "docker" "start" "-a" "146e387e0c8f576831c98340dfea343281c7b389f5c81f53e87ae58b433a1a37", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.6 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling bootloader v0.9.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pic8259 v0.10.2 [INFO] [stderr] Compiling tetris_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `alloc` [INFO] [stdout] --> src/string_format.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::{format, vec::Vec}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/string_format.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::{format, vec::Vec}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `core::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `format` [INFO] [stdout] --> src/string_format.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | return format!("{}{}{}", base, between, add); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/string_format.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn push_str(base:&str, string_add:&str) -> &str { [INFO] [stdout] | ---- ---- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `base` or `string_add` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub fn push_str<'a>(base:&'a str, string_add:&'a str) -> &'a str { [INFO] [stdout] | ++++ ++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/string_format.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn join(base:&str, add:&str, between:&str) -> &str { [INFO] [stdout] | ---- ---- ---- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `base`, `add`, or `between` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub fn join<'a>(base:&'a str, add:&'a str, between:&'a str) -> &'a str { [INFO] [stdout] | ++++ ++ ++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris_os` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "146e387e0c8f576831c98340dfea343281c7b389f5c81f53e87ae58b433a1a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "146e387e0c8f576831c98340dfea343281c7b389f5c81f53e87ae58b433a1a37", kill_on_drop: false }` [INFO] [stdout] 146e387e0c8f576831c98340dfea343281c7b389f5c81f53e87ae58b433a1a37