[INFO] cloning repository https://github.com/minmin0530/hello [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minmin0530/hello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7618d6b4b394cd8ec5b0824301b3333da83c69a9 [INFO] checking minmin0530/hello against master#31ee872db5aae4750e3da1ca4ed1523c4356947f for pr-78461 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minmin0530/hello on toolchain 31ee872db5aae4750e3da1ca4ed1523c4356947f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/minmin0530/hello [INFO] finished tweaking git repo https://github.com/minmin0530/hello [INFO] tweaked toml for git repo https://github.com/minmin0530/hello written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/minmin0530/hello already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "metadata" "--no-deps" "--format-version=1", 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] ee67eee3881f9f2a9c940988092a3e8a026216f12c3cd1e4842a509ebd50e812 [INFO] running `Command { std: "docker" "start" "-a" "ee67eee3881f9f2a9c940988092a3e8a026216f12c3cd1e4842a509ebd50e812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee67eee3881f9f2a9c940988092a3e8a026216f12c3cd1e4842a509ebd50e812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee67eee3881f9f2a9c940988092a3e8a026216f12c3cd1e4842a509ebd50e812", kill_on_drop: false }` [INFO] [stdout] ee67eee3881f9f2a9c940988092a3e8a026216f12c3cd1e4842a509ebd50e812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3010750ab2bb32c3153dc2a75379bb331d8fbe259225f16b72d66db00fcb623c [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" "3010750ab2bb32c3153dc2a75379bb331d8fbe259225f16b72d66db00fcb623c", kill_on_drop: false }` [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::alloc::{Alloc, System, Layout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::alloc::{Alloc, System, Layout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `System` in the current scope [INFO] [stdout] --> src/main.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::, *mut u8 >( System.alloc(layout).unwrap() ) [INFO] [stdout] | ^^^^^ method not found in `System` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::GlobalAlloc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `System` in the current scope [INFO] [stdout] --> src/main.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | System.dealloc(mem::transmute::< *mut u8, std::ptr::NonNull >( ptr ), layout); [INFO] [stdout] | ^^^^^^^ method not found in `System` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::GlobalAlloc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` [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[E0599]: no method named `alloc` found for struct `System` in the current scope [INFO] [stdout] --> src/main.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | mem::transmute::, *mut u8 >( System.alloc(layout).unwrap() ) [INFO] [stdout] | ^^^^^ method not found in `System` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::GlobalAlloc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `System` in the current scope [INFO] [stdout] --> src/main.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | System.dealloc(mem::transmute::< *mut u8, std::ptr::NonNull >( ptr ), layout); [INFO] [stdout] | ^^^^^^^ method not found in `System` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::GlobalAlloc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3010750ab2bb32c3153dc2a75379bb331d8fbe259225f16b72d66db00fcb623c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3010750ab2bb32c3153dc2a75379bb331d8fbe259225f16b72d66db00fcb623c", kill_on_drop: false }` [INFO] [stdout] 3010750ab2bb32c3153dc2a75379bb331d8fbe259225f16b72d66db00fcb623c