[INFO] cloning repository https://github.com/renosyah/RustAndMongoDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renosyah/RustAndMongoDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenosyah%2FRustAndMongoDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenosyah%2FRustAndMongoDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81e510534c00b770a66a6f89f8867fdf814b5687 [INFO] checking renosyah/RustAndMongoDB against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenosyah%2FRustAndMongoDB" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renosyah/RustAndMongoDB on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/renosyah/RustAndMongoDB [INFO] finished tweaking git repo https://github.com/renosyah/RustAndMongoDB [INFO] tweaked toml for git repo https://github.com/renosyah/RustAndMongoDB written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/renosyah/RustAndMongoDB already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aefc7b483b3eeb5800ef2d838b00fbd3f9b0abae25d07036473a781909593e43 [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" "aefc7b483b3eeb5800ef2d838b00fbd3f9b0abae25d07036473a781909593e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aefc7b483b3eeb5800ef2d838b00fbd3f9b0abae25d07036473a781909593e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aefc7b483b3eeb5800ef2d838b00fbd3f9b0abae25d07036473a781909593e43", kill_on_drop: false }` [INFO] [stdout] aefc7b483b3eeb5800ef2d838b00fbd3f9b0abae25d07036473a781909593e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5782e3daf8b05587b444ce817a8b132bf0307f9244b60152faf86aee9b8c10ad [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" "5782e3daf8b05587b444ce817a8b132bf0307f9244b60152faf86aee9b8c10ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking linked-hash-map v0.5.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking hostname v0.1.4 [INFO] [stderr] Checking semver v0.8.0 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking textnonce v0.6.3 [INFO] [stderr] Checking bson v0.10.0 [INFO] [stderr] Checking mongodb v0.3.7 [INFO] [stderr] Checking RustAndMongoDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn update(data: Mahasiswa, dataNew: Mahasiswa) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustAndMongoDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_and_mongo_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Mahasiswa` should have an upper case name [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const Mahasiswa : &str = "Mahasiswa"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `MAHASISWA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Ka` should have an upper case name [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const Ka : &str = "KA"; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `KA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nim` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub Nim : i32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nama` should have a snake case name [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub Nama : String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nama` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Jurusan` should have a snake case name [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Jurusan : String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `jurusan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `All` should have a snake case name [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub All : Vec [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insertData` should have a snake case name [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn insertData(data: Mahasiswa) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `insert_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let serialMhs = bson::to_bson(&data).ok().expect("failed"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findAllData` should have a snake case name [INFO] [stdout] --> src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn findAllData() -> AllMahasiswa { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `find_all_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AllData` should have a snake case name [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut AllData: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `all_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findOne` should have a snake case name [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn findOne(data : Mahasiswa) -> Mahasiswa { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let serialMhs = bson::to_bson(&data) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataNew` should have a snake case name [INFO] [stdout] --> src/main.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn update(data: Mahasiswa, dataNew: Mahasiswa) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let serialMhs = bson::to_bson(&data).ok().expect("failed"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn update(data: Mahasiswa, dataNew: Mahasiswa) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustAndMongoDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_and_mongo_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Mahasiswa` should have an upper case name [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const Mahasiswa : &str = "Mahasiswa"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `MAHASISWA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Ka` should have an upper case name [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const Ka : &str = "KA"; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `KA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nim` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub Nim : i32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nama` should have a snake case name [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub Nama : String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nama` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Jurusan` should have a snake case name [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Jurusan : String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `jurusan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `All` should have a snake case name [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub All : Vec [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insertData` should have a snake case name [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn insertData(data: Mahasiswa) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `insert_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let serialMhs = bson::to_bson(&data).ok().expect("failed"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findAllData` should have a snake case name [INFO] [stdout] --> src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn findAllData() -> AllMahasiswa { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `find_all_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AllData` should have a snake case name [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut AllData: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `all_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findOne` should have a snake case name [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn findOne(data : Mahasiswa) -> Mahasiswa { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let serialMhs = bson::to_bson(&data) [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataNew` should have a snake case name [INFO] [stdout] --> src/main.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn update(data: Mahasiswa, dataNew: Mahasiswa) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `serialMhs` should have a snake case name [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let serialMhs = bson::to_bson(&data).ok().expect("failed"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `serial_mhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.43s [INFO] running `Command { std: "docker" "inspect" "5782e3daf8b05587b444ce817a8b132bf0307f9244b60152faf86aee9b8c10ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5782e3daf8b05587b444ce817a8b132bf0307f9244b60152faf86aee9b8c10ad", kill_on_drop: false }` [INFO] [stdout] 5782e3daf8b05587b444ce817a8b132bf0307f9244b60152faf86aee9b8c10ad