[INFO] cloning repository https://github.com/TinySnow/RustLearning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinySnow/RustLearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinySnow%2FRustLearning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinySnow%2FRustLearning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a146980e6af770f753a4810bd58a4e216b1a3e2 [INFO] checking TinySnow/RustLearning/4a146980e6af770f753a4810bd58a4e216b1a3e2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinySnow%2FRustLearning" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TinySnow/RustLearning on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TinySnow/RustLearning [INFO] finished tweaking git repo https://github.com/TinySnow/RustLearning [INFO] tweaked toml for git repo https://github.com/TinySnow/RustLearning written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TinySnow/RustLearning 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cfcc150794d019fb3872d01eb9f5a86c1b44d50c561ff42705c488719bc38b3 [INFO] running `Command { std: "docker" "start" "-a" "2cfcc150794d019fb3872d01eb9f5a86c1b44d50c561ff42705c488719bc38b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cfcc150794d019fb3872d01eb9f5a86c1b44d50c561ff42705c488719bc38b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfcc150794d019fb3872d01eb9f5a86c1b44d50c561ff42705c488719bc38b3", kill_on_drop: false }` [INFO] [stdout] 2cfcc150794d019fb3872d01eb9f5a86c1b44d50c561ff42705c488719bc38b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31da53ee8bb0ebf5dda2ba827d32d1ab0569f72349015b1b234dd4baa70029c2 [INFO] running `Command { std: "docker" "start" "-a" "31da53ee8bb0ebf5dda2ba827d32d1ab0569f72349015b1b234dd4baa70029c2", kill_on_drop: false }` [INFO] [stderr] Checking learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `enums_c_like` [INFO] [stdout] --> src/custom_types/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod enums_c_like; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `enums_c_like`, create file "src/custom_types/enums_c_like.rs" or "src/custom_types/enums_c_like/mod.rs" [INFO] [stdout] = note: if there is a `mod enums_c_like` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `enums_c_like` [INFO] [stdout] --> src/custom_types/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod enums_c_like; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `enums_c_like`, create file "src/custom_types/enums_c_like.rs" or "src/custom_types/enums_c_like/mod.rs" [INFO] [stdout] = note: if there is a `mod enums_c_like` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `custom_types::enums_c_like` [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | custom_types::enums_c_like::main(); [INFO] [stdout] | ^^^^ not found in `custom_types::enums_c_like` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::attributes::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::dead_code::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::use_cfg::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::compatibility::compatibility::main; [INFO] [stdout] | [INFO] [stdout] and 173 other candidates [INFO] [stdout] help: if you import `main`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - custom_types::enums_c_like::main(); [INFO] [stdout] 57 + main(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macro_rules/macro_rules.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | println!("Hello!"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 12 | say_hello!() [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `say_hello` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `say_hello` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `custom_types::enums_c_like` [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | custom_types::enums_c_like::main(); [INFO] [stdout] | ^^^^ not found in `custom_types::enums_c_like` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::attributes::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::dead_code::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::attributes::use_cfg::main; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::compatibility::compatibility::main; [INFO] [stdout] | [INFO] [stdout] and 173 other candidates [INFO] [stdout] help: if you import `main`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - custom_types::enums_c_like::main(); [INFO] [stdout] 57 + main(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macro_rules/macro_rules.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | println!("Hello!"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 12 | say_hello!() [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `say_hello` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `say_hello` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adder` [INFO] [stdout] --> src/testing/integration_testing.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(adder::add(3, 2), 5); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `adder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning` (bin "learning") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning` (bin "learning" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31da53ee8bb0ebf5dda2ba827d32d1ab0569f72349015b1b234dd4baa70029c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31da53ee8bb0ebf5dda2ba827d32d1ab0569f72349015b1b234dd4baa70029c2", kill_on_drop: false }` [INFO] [stdout] 31da53ee8bb0ebf5dda2ba827d32d1ab0569f72349015b1b234dd4baa70029c2