[INFO] cloning repository https://github.com/theashguy/rust_guides [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theashguy/rust_guides" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53e949abed1f5afd81103a85e47183782fb85c4a [INFO] checking theashguy/rust_guides against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theashguy/rust_guides on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theashguy/rust_guides [INFO] finished tweaking git repo https://github.com/theashguy/rust_guides [INFO] tweaked toml for git repo https://github.com/theashguy/rust_guides written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/theashguy/rust_guides already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hkdf v0.8.0 [INFO] [stderr] Downloaded cookie v0.11.3 [INFO] [stderr] Downloaded aes-soft v0.3.3 [INFO] [stderr] Downloaded rocket_codegen v0.4.6 [INFO] [stderr] Downloaded aead v0.2.0 [INFO] [stderr] Downloaded rocket_http v0.4.6 [INFO] [stderr] Downloaded aes v0.3.2 [INFO] [stderr] Downloaded aesni v0.6.0 [INFO] [stderr] Downloaded aes-gcm v0.5.0 [INFO] [stderr] Downloaded rocket v0.4.6 [INFO] [stderr] Downloaded ghash v0.2.3 [INFO] [stderr] Downloaded universal-hash v0.3.0 [INFO] [stderr] Downloaded polyval v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f63fa9e3e22b69f5070f66abebcbbb8c84626d19d691d525195237bd3965542 [INFO] running `Command { std: "docker" "start" "-a" "1f63fa9e3e22b69f5070f66abebcbbb8c84626d19d691d525195237bd3965542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f63fa9e3e22b69f5070f66abebcbbb8c84626d19d691d525195237bd3965542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f63fa9e3e22b69f5070f66abebcbbb8c84626d19d691d525195237bd3965542", kill_on_drop: false }` [INFO] [stdout] 1f63fa9e3e22b69f5070f66abebcbbb8c84626d19d691d525195237bd3965542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efc136a80c63af539e6be49b96e0dac133107a75e5c17fc5eaa375135318214d [INFO] running `Command { std: "docker" "start" "-a" "efc136a80c63af539e6be49b96e0dac133107a75e5c17fc5eaa375135318214d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.83 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking types_are_good v0.1.0 (/opt/rustwide/workdir/types_are_good) [INFO] [stderr] Checking fun_with_modules v0.1.0 (/opt/rustwide/workdir/fun_with_modules) [INFO] [stdout] warning: variant is never constructed: `Unsigned` [INFO] [stdout] --> types_are_good/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Unsigned(u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> types_are_good/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Integer(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> types_are_good/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Float(f32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getting_pointy v0.1.0 (/opt/rustwide/workdir/getting_pointy) [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> getting_pointy/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut thing = "My Stringy Thing".to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> getting_pointy/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut thing = "My Stringy Thing".to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unsigned` [INFO] [stdout] --> types_are_good/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Unsigned(u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> types_are_good/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Integer(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> types_are_good/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Float(f32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking add_two_numbers v0.1.0 (/opt/rustwide/workdir/add_two_numbers) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> add_two_numbers/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `add_two_numbers` [INFO] [stdout] --> add_two_numbers/tests/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use add_two_numbers::{*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `add_two_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_two_numbers` in this scope [INFO] [stdout] --> add_two_numbers/tests/tests.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let result = add_two_numbers(1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `add_two_numbers` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> add_two_numbers/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "efc136a80c63af539e6be49b96e0dac133107a75e5c17fc5eaa375135318214d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc136a80c63af539e6be49b96e0dac133107a75e5c17fc5eaa375135318214d", kill_on_drop: false }` [INFO] [stdout] efc136a80c63af539e6be49b96e0dac133107a75e5c17fc5eaa375135318214d