[INFO] fetching crate physical-quantity 0.0.5... [INFO] checking physical-quantity-0.0.5 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate physical-quantity 0.0.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate physical-quantity 0.0.5 [INFO] finished tweaking crates.io crate physical-quantity 0.0.5 [INFO] tweaked toml for crates.io crate physical-quantity 0.0.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate physical-quantity 0.0.5 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate physical-quantity 0.0.5 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-frac v0.0.4 [INFO] [stderr] Downloaded keyword-parser v0.0.3 [INFO] [stderr] Downloaded gcd v2.1.0 [INFO] [stderr] Downloaded disuse v0.0.2 [INFO] [stderr] Downloaded const-array-attrs v0.0.3 [INFO] [stderr] Downloaded real-proc v0.0.3 [INFO] [stderr] Downloaded transition-table v0.0.3 [INFO] [stderr] Downloaded physical-quantity v0.0.4 [INFO] [stderr] Downloaded float-pretty-print v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d3db11da9163c05fcae78df39c50850692a247b53cde044ad984deae294e97c [INFO] running `Command { std: "docker" "start" "-a" "6d3db11da9163c05fcae78df39c50850692a247b53cde044ad984deae294e97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d3db11da9163c05fcae78df39c50850692a247b53cde044ad984deae294e97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3db11da9163c05fcae78df39c50850692a247b53cde044ad984deae294e97c", kill_on_drop: false }` [INFO] [stdout] 6d3db11da9163c05fcae78df39c50850692a247b53cde044ad984deae294e97c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ebfe0e6b759a16e08bbcc831a094f5e46d8b53bc1eb4f6645ffe45212726fc6 [INFO] running `Command { std: "docker" "start" "-a" "2ebfe0e6b759a16e08bbcc831a094f5e46d8b53bc1eb4f6645ffe45212726fc6", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling physical-quantity v0.0.4 [INFO] [stderr] Compiling transition-table v0.0.3 [INFO] [stderr] Compiling physical-quantity v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling disuse v0.0.2 [INFO] [stderr] Checking float-pretty-print v0.1.1 [INFO] [stderr] Checking gcd v2.1.0 [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling const-array-attrs v0.0.3 [INFO] [stderr] Compiling const-frac v0.0.4 [INFO] [stderr] Checking keyword-parser v0.0.3 [INFO] [stderr] Compiling real-proc v0.0.3 [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `physical_quantity` found [INFO] [stdout] --> examples/dump_default_def.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use physical_quantity::{ predefined::unit::DEFAULT_UNIT_DEF, Dimension, DynDim }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libphysical_quantity-54a5e7bc31756fd8.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libphysical_quantity-bdbef29a99a42bee.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] [INFO] [stderr] error: could not compile `physical-quantity` (example "dump_default_def") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `unit::Unit<_, _>: FromStr` is not satisfied [INFO] [stdout] --> src/unit.rs:434:50 [INFO] [stdout] | [INFO] [stdout] 434 | let u: Result, _> = "kg*m/s2".parse(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `unit::Unit<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2687:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `unit::Unit: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let u: Unit = "Da".parse().unwrap(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `unit::Unit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2687:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let float = u.value(pq).unwrap(); [INFO] [stdout] | ^^^^^ multiple `value` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `unit::Unit>` [INFO] [stdout] --> src/unit.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn value(&self, pq: PhysicalQuantity>) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `unit::Unit` [INFO] [stdout] --> src/unit.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / pub fn value(&self, pq: PhysicalQuantity) -> Result [INFO] [stdout] 130 | | where [INFO] [stdout] 131 | | D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `unit::Unit: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let u: Unit = "W m2 sr-1".parse().unwrap(); [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `unit::Unit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2687:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let v1 = u.value(pq).unwrap(); [INFO] [stdout] | ^^^^^ multiple `value` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `unit::Unit>` [INFO] [stdout] --> src/unit.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn value(&self, pq: PhysicalQuantity>) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `unit::Unit` [INFO] [stdout] --> src/unit.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / pub fn value(&self, pq: PhysicalQuantity) -> Result [INFO] [stdout] 130 | | where [INFO] [stdout] 131 | | D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `physical-quantity` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2ebfe0e6b759a16e08bbcc831a094f5e46d8b53bc1eb4f6645ffe45212726fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ebfe0e6b759a16e08bbcc831a094f5e46d8b53bc1eb4f6645ffe45212726fc6", kill_on_drop: false }` [INFO] [stdout] 2ebfe0e6b759a16e08bbcc831a094f5e46d8b53bc1eb4f6645ffe45212726fc6