[INFO] cloning repository https://github.com/erak/resonance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erak/resonance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferak%2Fresonance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferak%2Fresonance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ea5cb3b9bd36ec9350a477120f709dfca2e90df [INFO] checking erak/resonance/5ea5cb3b9bd36ec9350a477120f709dfca2e90df against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferak%2Fresonance" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erak/resonance on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erak/resonance [INFO] finished tweaking git repo https://github.com/erak/resonance [INFO] tweaked toml for git repo https://github.com/erak/resonance written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erak/resonance 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3acdf5b1c8d759032e6eb0c726d88a7a5247f2c81154e1c44ac0c8db985313fb [INFO] running `Command { std: "docker" "start" "-a" "3acdf5b1c8d759032e6eb0c726d88a7a5247f2c81154e1c44ac0c8db985313fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3acdf5b1c8d759032e6eb0c726d88a7a5247f2c81154e1c44ac0c8db985313fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3acdf5b1c8d759032e6eb0c726d88a7a5247f2c81154e1c44ac0c8db985313fb", kill_on_drop: false }` [INFO] [stdout] 3acdf5b1c8d759032e6eb0c726d88a7a5247f2c81154e1c44ac0c8db985313fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a202946a313678aa2937c145246038db981393501b7d81cad0b4cf9d5a31151f [INFO] running `Command { std: "docker" "start" "-a" "a202946a313678aa2937c145246038db981393501b7d81cad0b4cf9d5a31151f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Checking resonance v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! addable_newtype( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 3 | | ($T:ident) => ( [INFO] [stdout] 4 | | impl Add<$T, $T> for $T { [INFO] [stdout] 5 | | fn add(&self, rhs: &$T) -> $T { [INFO] [stdout] ... | [INFO] [stdout] 10 | | ) [INFO] [stdout] 11 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 2 ~ macro_rules! addable_newtype{ [INFO] [stdout] 3 | ($T:ident) => ( [INFO] [stdout] ... [INFO] [stdout] 10 | ) [INFO] [stdout] 11 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 11 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! subable_newtype( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | ($T:ident) => ( [INFO] [stdout] 15 | | impl Sub<$T, $T> for $T { [INFO] [stdout] 16 | | fn sub(&self, rhs: &$T) -> $T { [INFO] [stdout] ... | [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 13 ~ macro_rules! subable_newtype{ [INFO] [stdout] 14 | ($T:ident) => ( [INFO] [stdout] ... [INFO] [stdout] 21 | ) [INFO] [stdout] 22 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 22 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! scalable_newtype( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 25 | | ($T:ident) => ( [INFO] [stdout] 26 | | impl Mul for $T { [INFO] [stdout] 27 | | fn mul(&self, &rhs: &f64) -> $T { [INFO] [stdout] ... | [INFO] [stdout] 32 | | ) [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 24 ~ macro_rules! scalable_newtype{ [INFO] [stdout] 25 | ($T:ident) => ( [INFO] [stdout] ... [INFO] [stdout] 32 | ) [INFO] [stdout] 33 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 33 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | macro_rules! mul_newtypes( [INFO] [stdout] | __________________________^ [INFO] [stdout] 36 | | ($A:ident * $B:ident -> $C:ident) => ( [INFO] [stdout] 37 | | impl Mul<$B, $C> for $A { [INFO] [stdout] 38 | | fn mul(&self, rhs: &$B) -> $C { [INFO] [stdout] ... | [INFO] [stdout] 44 | | ) [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 35 ~ macro_rules! mul_newtypes{ [INFO] [stdout] 36 | ($A:ident * $B:ident -> $C:ident) => ( [INFO] [stdout] ... [INFO] [stdout] 44 | ) [INFO] [stdout] 45 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 45 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | addable_newtype!(Length) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 73 | addable_newtype!{Length} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 73 | addable_newtype!(Length); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | subable_newtype!(Length) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 74 | subable_newtype!{Length} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 74 | subable_newtype!(Length); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | scalable_newtype!(Length) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 75 | scalable_newtype!{Length} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 75 | scalable_newtype!(Length); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | addable_newtype!(Velocity) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 76 | addable_newtype!{Velocity} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 76 | addable_newtype!(Velocity); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | subable_newtype!(Velocity) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 77 | subable_newtype!{Velocity} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 77 | subable_newtype!(Velocity); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | scalable_newtype!(Velocity) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 78 | scalable_newtype!{Velocity} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 78 | scalable_newtype!(Velocity); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | addable_newtype!(Force) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 79 | addable_newtype!{Force} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 79 | addable_newtype!(Force); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | subable_newtype!(Force) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 80 | subable_newtype!{Force} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 80 | subable_newtype!(Force); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | mul_newtypes!(Stiffness * Length -> Force) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 82 | mul_newtypes!{Stiffness * Length -> Force} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 82 | mul_newtypes!(Stiffness * Length -> Force); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/units.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | mul_newtypes!(Damping * Velocity -> Force) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 83 | mul_newtypes!{Damping * Velocity -> Force} [INFO] [stdout] | ~ ~ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 83 | mul_newtypes!(Damping * Velocity -> Force); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/instrument.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/instrument.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/units.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/instrument.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Particle(uint); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/instrument.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Spring(uint); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/instrument.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn add_chain(&mut self, p_0: Particle, p_n: Particle, n: uint, mass: Mass, stiffness: Stiffness, damping: Damping) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/instrument.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | for _ in range(1, n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/instrument.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl Add for ParticleState { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/instrument.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | impl Mul for ParticleState { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/instrument.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | impl<'a> Add, InstrumentState<'a>> for InstrumentState<'a> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/instrument.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a> Mul> for InstrumentState<'a> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/units.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | impl Add<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 73 | addable_newtype!(Length) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `addable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stdout] --> src/units.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl Sub<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 74 | subable_newtype!(Length) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `subable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Sub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/units.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | impl Mul for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 75 | scalable_newtype!(Length) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scalable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/units.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | impl Add<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 76 | addable_newtype!(Velocity) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `addable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stdout] --> src/units.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl Sub<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 77 | subable_newtype!(Velocity) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `subable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Sub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/units.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | impl Mul for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | scalable_newtype!(Velocity) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scalable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/units.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | impl Add<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 79 | addable_newtype!(Force) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `addable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Sub` in this scope [INFO] [stdout] --> src/units.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl Sub<$T, $T> for $T { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 80 | subable_newtype!(Force) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `subable_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Sub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/units.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | impl Mul<$B, $C> for $A { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 82 | mul_newtypes!(Stiffness * Length -> Force) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mul_newtypes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/units.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | impl Mul<$B, $C> for $A { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 83 | mul_newtypes!(Damping * Velocity -> Force) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mul_newtypes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Div` in this scope [INFO] [stdout] --> src/units.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | impl Div for Force { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope [INFO] [stdout] --> src/runge_kutta.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait State: Add + Mul { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope [INFO] [stdout] --> src/runge_kutta.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait State: Add + Mul { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `resonance` (lib) due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "a202946a313678aa2937c145246038db981393501b7d81cad0b4cf9d5a31151f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a202946a313678aa2937c145246038db981393501b7d81cad0b4cf9d5a31151f", kill_on_drop: false }` [INFO] [stdout] a202946a313678aa2937c145246038db981393501b7d81cad0b4cf9d5a31151f