[INFO] cloning repository https://github.com/Luizhnrs/Pendulum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luizhnrs/Pendulum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuizhnrs%2FPendulum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuizhnrs%2FPendulum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b9c05a1623c50f672cdf4600df4fcab5f48e2e1 [INFO] building Luizhnrs/Pendulum against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuizhnrs%2FPendulum" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luizhnrs/Pendulum on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luizhnrs/Pendulum [INFO] finished tweaking git repo https://github.com/Luizhnrs/Pendulum [INFO] tweaked toml for git repo https://github.com/Luizhnrs/Pendulum written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Luizhnrs/Pendulum 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09785dfbf640702d11849917cb1c0709fcfc5fc9bb05f711e0b332d544f3769d [INFO] running `Command { std: "docker" "start" "-a" "09785dfbf640702d11849917cb1c0709fcfc5fc9bb05f711e0b332d544f3769d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09785dfbf640702d11849917cb1c0709fcfc5fc9bb05f711e0b332d544f3769d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09785dfbf640702d11849917cb1c0709fcfc5fc9bb05f711e0b332d544f3769d", kill_on_drop: false }` [INFO] [stdout] 09785dfbf640702d11849917cb1c0709fcfc5fc9bb05f711e0b332d544f3769d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2265287688b8f396377726f4e2998de4c388d00f8feea436ae7a7e8def992f9 [INFO] running `Command { std: "docker" "start" "-a" "e2265287688b8f396377726f4e2998de4c388d00f8feea436ae7a7e8def992f9", kill_on_drop: false }` [INFO] [stderr] Compiling Pendulum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `$` [INFO] [stdout] --> src/main.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 47 | //We use the pendulum equation to calculate the angular acceleration [INFO] [stdout] 48 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 47 | //We use the pendulum equation to calculate the angular acceleration [INFO] [stdout] 48 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 47 | //We use the pendulum equation to calculate the angular acceleration [INFO] [stdout] 48 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 47 | //We use the pendulum equation to calculate the angular acceleration [INFO] [stdout] 48 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 51 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn update($mut self){ [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 51 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&self, $mut self){ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/main.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | position: vector::Vector::new { x: 0.0, y: 0.0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `new` implemented for `Vector`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 33 - position: vector::Vector::new { x: 0.0, y: 0.0 }, [INFO] [stdout] 33 + position: ::new { x: 0.0, y: 0.0 }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0424. [INFO] [stdout] [INFO] [stderr] error: could not compile `Pendulum` (bin "Pendulum") due to 8 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2265287688b8f396377726f4e2998de4c388d00f8feea436ae7a7e8def992f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2265287688b8f396377726f4e2998de4c388d00f8feea436ae7a7e8def992f9", kill_on_drop: false }` [INFO] [stdout] e2265287688b8f396377726f4e2998de4c388d00f8feea436ae7a7e8def992f9