[INFO] fetching crate physical-quantity 0.0.5... [INFO] checking physical-quantity-0.0.5 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate physical-quantity 0.0.5 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate physical-quantity 0.0.5 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21104c15d62d14cd9411a7246914ef5d25b664892b53643033c17cdbcadc1a9c [INFO] running `Command { std: "docker" "start" "-a" "21104c15d62d14cd9411a7246914ef5d25b664892b53643033c17cdbcadc1a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21104c15d62d14cd9411a7246914ef5d25b664892b53643033c17cdbcadc1a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21104c15d62d14cd9411a7246914ef5d25b664892b53643033c17cdbcadc1a9c", kill_on_drop: false }` [INFO] [stdout] 21104c15d62d14cd9411a7246914ef5d25b664892b53643033c17cdbcadc1a9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e413910e22c7e24f2a17833120662617e2e481227cdbad042f636052c6a4dd [INFO] running `Command { std: "docker" "start" "-a" "83e413910e22c7e24f2a17833120662617e2e481227cdbad042f636052c6a4dd", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [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 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] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling physical-quantity v0.0.4 [INFO] [stderr] Compiling disuse v0.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling physical-quantity v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling transition-table v0.0.3 [INFO] [stderr] Checking float-pretty-print v0.1.1 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Checking combine v4.6.3 [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/str/mod.rs:2701: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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/str/mod.rs:2701: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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/str/mod.rs:2701: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" "83e413910e22c7e24f2a17833120662617e2e481227cdbad042f636052c6a4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e413910e22c7e24f2a17833120662617e2e481227cdbad042f636052c6a4dd", kill_on_drop: false }` [INFO] [stdout] 83e413910e22c7e24f2a17833120662617e2e481227cdbad042f636052c6a4dd