[INFO] cloning repository https://github.com/fjhg19930505/rust_leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fjhg19930505/rust_leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frust_leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frust_leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7a61cdab7f85d97d39bc8c7ce6d3a7c7ddb6cfc [INFO] checking fjhg19930505/rust_leetcode against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjhg19930505%2Frust_leetcode" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fjhg19930505/rust_leetcode on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fjhg19930505/rust_leetcode [INFO] finished tweaking git repo https://github.com/fjhg19930505/rust_leetcode [INFO] tweaked toml for git repo https://github.com/fjhg19930505/rust_leetcode written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/fjhg19930505/rust_leetcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ccf593765eb515a473c2e78d66efdbd80c7bb9844b94daa97bd07e0faec71cb [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" "7ccf593765eb515a473c2e78d66efdbd80c7bb9844b94daa97bd07e0faec71cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ccf593765eb515a473c2e78d66efdbd80c7bb9844b94daa97bd07e0faec71cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccf593765eb515a473c2e78d66efdbd80c7bb9844b94daa97bd07e0faec71cb", kill_on_drop: false }` [INFO] [stdout] 7ccf593765eb515a473c2e78d66efdbd80c7bb9844b94daa97bd07e0faec71cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c5c78af334c289c59d07cd737c3c2e9bd86a8ace983c2bf793399edd5677bf [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" "10c5c78af334c289c59d07cd737c3c2e9bd86a8ace983c2bf793399edd5677bf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking math v0.0.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking Study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `add_two_numbers` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod add_two_numbers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `add_two_numbers`, create file "src/leetcode/tencent/add_two_numbers.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `longest_substring_without_repeating_characters` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod longest_substring_without_repeating_characters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `longest_substring_without_repeating_characters`, create file "src/leetcode/tencent/longest_substring_without_repeating_characters.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `z_transfer` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod z_transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `z_transfer`, create file "src/leetcode/tencent/z_transfer.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `add_two_numbers` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod add_two_numbers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `add_two_numbers`, create file "src/leetcode/tencent/add_two_numbers.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `longest_substring_without_repeating_characters` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod longest_substring_without_repeating_characters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `longest_substring_without_repeating_characters`, create file "src/leetcode/tencent/longest_substring_without_repeating_characters.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `z_transfer` [INFO] [stdout] --> src/leetcode/tencent/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod z_transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `z_transfer`, create file "src/leetcode/tencent/z_transfer.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert` in module `leetcode::tencent::z_transfer` [INFO] [stdout] --> src/main.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | let result = leetcode::tencent::z_transfer::convert(s, numRows); [INFO] [stdout] | ^^^^^^^ not found in `leetcode::tencent::z_transfer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use crate::normal_test::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::os::raw::dec2flt::convert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert` in module `leetcode::tencent::z_transfer` [INFO] [stdout] --> src/main.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | let result = leetcode::tencent::z_transfer::convert(s, numRows); [INFO] [stdout] | ^^^^^^^ not found in `leetcode::tencent::z_transfer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use crate::normal_test::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::os::raw::dec2flt::convert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/leetcode/tencent/my_atoi.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | } else if (ch < '0' || ch > '9'){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/leetcode/tencent/my_atoi.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | else if (!has_op && ch != '0') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/leetcode/tencent/my_atoi.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | } else if (ch < '0' || ch > '9'){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/leetcode/tencent/my_atoi.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | else if (!has_op && ch != '0') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings 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 `Study` [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: aborting due to 4 previous errors; 3 warnings 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: build failed [INFO] running `Command { std: "docker" "inspect" "10c5c78af334c289c59d07cd737c3c2e9bd86a8ace983c2bf793399edd5677bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c5c78af334c289c59d07cd737c3c2e9bd86a8ace983c2bf793399edd5677bf", kill_on_drop: false }` [INFO] [stdout] 10c5c78af334c289c59d07cd737c3c2e9bd86a8ace983c2bf793399edd5677bf