[INFO] cloning repository https://github.com/ryotakita/RustCalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryotakita/RustCalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryotakita%2FRustCalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryotakita%2FRustCalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e75c4c0f89a3266599eec7a34fff1e9a44a7351 [INFO] checking ryotakita/RustCalc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryotakita%2FRustCalc" "/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/ryotakita/RustCalc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryotakita/RustCalc [INFO] finished tweaking git repo https://github.com/ryotakita/RustCalc [INFO] tweaked toml for git repo https://github.com/ryotakita/RustCalc written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ryotakita/RustCalc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3545021bbee18b1bf1a3675d88f2af774c72e1a906fc1ddc97176baf92bcb38e [INFO] running `Command { std: "docker" "start" "-a" "3545021bbee18b1bf1a3675d88f2af774c72e1a906fc1ddc97176baf92bcb38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3545021bbee18b1bf1a3675d88f2af774c72e1a906fc1ddc97176baf92bcb38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3545021bbee18b1bf1a3675d88f2af774c72e1a906fc1ddc97176baf92bcb38e", kill_on_drop: false }` [INFO] [stdout] 3545021bbee18b1bf1a3675d88f2af774c72e1a906fc1ddc97176baf92bcb38e [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17620be0afe3b0bb53bf035a3114d49e3acb08ee6c686466f7cc3ac167bd3b7a [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" "17620be0afe3b0bb53bf035a3114d49e3acb08ee6c686466f7cc3ac167bd3b7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking svg v0.5.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking plotlib v0.4.0 [INFO] [stderr] Checking CalcArc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Scatter`, `Style` [INFO] [stdout] --> src/GroupOfBeam.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use plotlib::scatter::{Scatter, Style}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plotlib::style::Point` [INFO] [stdout] --> src/GroupOfBeam.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use plotlib::style::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/RCParse.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, BufRead,BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/GroupOfNode.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | let node = createNode(0., 0.); [INFO] [stdout] | ^^^^^^^^^^ -- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/GroupOfNode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn createNode(xtmp: f64, ytmp: f64, nodeGroup: &mut NodeGroup) [INFO] [stdout] | ^^^^^^^^^^ --------- --------- ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GroupOfNode::*` [INFO] [stdout] --> src/GroupOfBeam.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::GroupOfNode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scatter`, `Style` [INFO] [stdout] --> src/GroupOfBeam.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use plotlib::scatter::{Scatter, Style}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plotlib::style::Point` [INFO] [stdout] --> src/GroupOfBeam.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use plotlib::style::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/RCParse.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, BufRead,BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/RCParse.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `x` on type `()` [INFO] [stdout] --> src/GroupOfNode.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(node.x, 0.); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `y` on type `()` [INFO] [stdout] --> src/GroupOfNode.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(node.y, 0.); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/GroupOfNode.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | let nodeTar = createNode(3., 4.); [INFO] [stdout] | ^^^^^^^^^^ -- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/GroupOfNode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn createNode(xtmp: f64, ytmp: f64, nodeGroup: &mut NodeGroup) [INFO] [stdout] | ^^^^^^^^^^ --------- --------- ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `x` on type `()` [INFO] [stdout] --> src/GroupOfNode.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(nodeTar.x, 3.); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `y` on type `()` [INFO] [stdout] --> src/GroupOfNode.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(nodeTar.y, 4.); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getDistanceTo` found for unit type `()` in the current scope [INFO] [stdout] --> src/GroupOfNode.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(node.getDistanceTo(&nodeTar), 5.); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/GroupOfBeam.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let nodeI = createNode(0., 0.); [INFO] [stdout] | ^^^^^^^^^^ -- -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/GroupOfNode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn createNode(xtmp: f64, ytmp: f64, nodeGroup: &mut NodeGroup) [INFO] [stdout] | ^^^^^^^^^^ --------- --------- ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/GroupOfBeam.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let nodeJ = createNode(100., 200.); [INFO] [stdout] | ^^^^^^^^^^ ---- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/GroupOfNode.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn createNode(xtmp: f64, ytmp: f64, nodeGroup: &mut NodeGroup) [INFO] [stdout] | ^^^^^^^^^^ --------- --------- ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 2 arguments were supplied [INFO] [stdout] --> src/GroupOfBeam.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let beam = createBeam(nodeI, nodeJ); [INFO] [stdout] | ^^^^^^^^^^ ----- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/GroupOfBeam.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn createBeam(IxIn: f64, IyIn: f64, JxIn: f64, JyIn: f64, grp: &mut BeamGroup) { [INFO] [stdout] | ^^^^^^^^^^ --------- --------- --------- --------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getLength` found for unit type `()` in the current scope [INFO] [stdout] --> src/GroupOfBeam.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(beam.getLength(), (100.0_f64.powf(2.) + 200.0_f64.powf(2.)).powf(0.5)); [INFO] [stdout] | ^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: crate `CalcArc` 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: `calc_arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `CalcArc` [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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17620be0afe3b0bb53bf035a3114d49e3acb08ee6c686466f7cc3ac167bd3b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17620be0afe3b0bb53bf035a3114d49e3acb08ee6c686466f7cc3ac167bd3b7a", kill_on_drop: false }` [INFO] [stdout] 17620be0afe3b0bb53bf035a3114d49e3acb08ee6c686466f7cc3ac167bd3b7a