[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] testing minmin0530/hello against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minmin0530/hello on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-7/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28fc13f893dc6c53a14b0316f8f19ab880705c05a1432fd86c8fd0a004869d5d [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" "28fc13f893dc6c53a14b0316f8f19ab880705c05a1432fd86c8fd0a004869d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28fc13f893dc6c53a14b0316f8f19ab880705c05a1432fd86c8fd0a004869d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28fc13f893dc6c53a14b0316f8f19ab880705c05a1432fd86c8fd0a004869d5d", kill_on_drop: false }` [INFO] [stdout] 28fc13f893dc6c53a14b0316f8f19ab880705c05a1432fd86c8fd0a004869d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f9bd486a82aa621424e2261fb43422d53afc17148eee9b962287ddc885eeab6 [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" "8f9bd486a82aa621424e2261fb43422d53afc17148eee9b962287ddc885eeab6", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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] running `Command { std: "docker" "inspect" "8f9bd486a82aa621424e2261fb43422d53afc17148eee9b962287ddc885eeab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9bd486a82aa621424e2261fb43422d53afc17148eee9b962287ddc885eeab6", kill_on_drop: false }` [INFO] [stdout] 8f9bd486a82aa621424e2261fb43422d53afc17148eee9b962287ddc885eeab6