[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minmin0530/hello on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c8677c5e12ff9c8fc041cc93f0a02d7d01c7cf21f1645f8ba6e6faa009b0699 [INFO] running `Command { std: "docker" "start" "-a" "1c8677c5e12ff9c8fc041cc93f0a02d7d01c7cf21f1645f8ba6e6faa009b0699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c8677c5e12ff9c8fc041cc93f0a02d7d01c7cf21f1645f8ba6e6faa009b0699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8677c5e12ff9c8fc041cc93f0a02d7d01c7cf21f1645f8ba6e6faa009b0699", kill_on_drop: false }` [INFO] [stdout] 1c8677c5e12ff9c8fc041cc93f0a02d7d01c7cf21f1645f8ba6e6faa009b0699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf8225517284a2dc39da863f72514d01cdce500b0c0362165519dc6684bfc78 [INFO] running `Command { std: "docker" "start" "-a" "bbf8225517284a2dc39da863f72514d01cdce500b0c0362165519dc6684bfc78", 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] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:154:15 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `System` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `dealloc` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:169:5 [INFO] [stdout] help: trait `GlobalAlloc` which provides `alloc` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::GlobalAlloc; [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:154:15 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `System` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `dealloc` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:169:5 [INFO] [stdout] help: trait `GlobalAlloc` which provides `alloc` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::GlobalAlloc; [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] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:169:15 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `System` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `realloc` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:260:5 [INFO] [stdout] help: trait `GlobalAlloc` which provides `dealloc` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::GlobalAlloc; [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] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:169:15 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `System` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `realloc` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/alloc/global.rs:260:5 [INFO] [stdout] help: trait `GlobalAlloc` which provides `dealloc` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::GlobalAlloc; [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] [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` (bin "hello") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello` (bin "hello" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bbf8225517284a2dc39da863f72514d01cdce500b0c0362165519dc6684bfc78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf8225517284a2dc39da863f72514d01cdce500b0c0362165519dc6684bfc78", kill_on_drop: false }` [INFO] [stdout] bbf8225517284a2dc39da863f72514d01cdce500b0c0362165519dc6684bfc78 [INFO] checking minmin0530/hello against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminmin0530%2Fhello" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minmin0530/hello on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c52e6f22b8613cccf5c4bef7917c39fc9c5e2996e4afae77e8e2f06f950ef56 [INFO] running `Command { std: "docker" "start" "-a" "2c52e6f22b8613cccf5c4bef7917c39fc9c5e2996e4afae77e8e2f06f950ef56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c52e6f22b8613cccf5c4bef7917c39fc9c5e2996e4afae77e8e2f06f950ef56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c52e6f22b8613cccf5c4bef7917c39fc9c5e2996e4afae77e8e2f06f950ef56", kill_on_drop: false }` [INFO] [stdout] 2c52e6f22b8613cccf5c4bef7917c39fc9c5e2996e4afae77e8e2f06f950ef56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7043a6aea7a06e01e512c2078cb58a5bb839c1f80c2eda98d4ec0c589a8a1f7b [INFO] running `Command { std: "docker" "start" "-a" "7043a6aea7a06e01e512c2078cb58a5bb839c1f80c2eda98d4ec0c589a8a1f7b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "7043a6aea7a06e01e512c2078cb58a5bb839c1f80c2eda98d4ec0c589a8a1f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7043a6aea7a06e01e512c2078cb58a5bb839c1f80c2eda98d4ec0c589a8a1f7b", kill_on_drop: false }` [INFO] [stdout] 7043a6aea7a06e01e512c2078cb58a5bb839c1f80c2eda98d4ec0c589a8a1f7b