Comments (5)
Full trace:
$ shards build --error-trace
Dependencies are satisfied
Building: irs
Error target irs failed to compile:
In src/glue/mapper.cr:4:8
4 | JSON.mapping(
^------
Warning: Deprecated JSON.mapping. use JSON::Serializable instead (the legacy behaviour is also available in a shard at github:crystal-lang/json_mapping.cr)
In src/glue/mapper.cr:4:3
4 | JSON.mapping(
^
Warning: expanding macro
There was a problem expanding macro 'mapping'
Called macro defined in /usr/share/crystal/src/json/mapping.cr:232:3
232 | macro mapping(**_properties_)
Which expanded to:
> 1 | ::JSON.mapping({tracks: {type: PlaylistTracksMapper, setter: true}, id: String, images: JSON::Any, name: String, owner: JSON::Any, type: String})
2 |
Warning: Deprecated JSON.mapping. use JSON::Serializable instead (the legacy behaviour is also available in a shard at github:crystal-lang/json_mapping.cr)
In src/glue/mapper.cr:18:8
18 | JSON.mapping(
^------
Warning: Deprecated JSON.mapping. use JSON::Serializable instead (the legacy behaviour is also available in a shard at github:crystal-lang/json_mapping.cr)
In src/glue/mapper.cr:28:8
28 | JSON.mapping(
^------
Warning: Deprecated JSON.mapping. use JSON::Serializable instead (the legacy behaviour is also available in a shard at github:crystal-lang/json_mapping.cr)
In src/glue/album.cr:12:7
12 | def find_it
^------
Warning: this method overrides SpotifyList#find_it() which has an explicit return type of JSON::Any.
Please add an explicit return type (JSON::Any or a subtype of it) to this method as well.
The above warning will become an error in a future Crystal version.
In src/glue/playlist.cr:16:7
16 | def find_it
^------
Warning: this method overrides SpotifyList#find_it() which has an explicit return type of JSON::Any.
Please add an explicit return type (JSON::Any or a subtype of it) to this method as well.
The above warning will become an error in a future Crystal version.
A total of 6 warnings were found.
In src/irs.cr:8:1
8 | main()
^---
Error: instantiating 'main()'
In src/irs.cr:5:7
5 | cli.act_on_args
^----------
Error: instantiating 'CLI#act_on_args()'
In src/bottle/cli.cr:85:9
85 | s.grab_it
^------
Error: instantiating 'Song#grab_it()'
In src/glue/song.cr:94:12
94 | Ripper.download_mp3(url.as(String), @filename)
^-----------
Error: instantiating 'Ripper:Module#download_mp3(String, String)'
In src/interact/ripper.cr:41:14
41 | return l.start do |line, index|
^----
Error: instantiating 'Logger#start()'
In src/interact/logger.cr:41:14
41 | called = future {
^-----
Error: undefined local variable or method 'future' for Logger
from irs.
Should be fixed with pull #64, the .35 update broke it
from irs.
I got the same thing. I installed crystal from Arch Linux repo (pacman -S crystal shards).
from irs.
Up +1 ! I have the same issues !
from irs.
confirmed: it builds! (needed to install libxml2-dev
and libyaml-dev
first, just in case anyone needed that help)
from irs.
Related Issues (20)
- Compile error -- `Error: undefined method 'mapping' for JSON:Module` HOT 1
- Program hangs on download HOT 3
- Cant get past irs --install HOT 2
- Unhandled exception: Index out of bounds (IndexError) HOT 4
- Missing hash-key: "give-url" (KeyError) when trying to run with only album & artist HOT 2
- Wrong extension given for config file in readme HOT 10
- Unexpected char
- Youtube organization changed HOT 3
- Feature: Allow selecting youtubevideo to download HOT 4
- Release version is 1.2.1, internal version is 1.4.0 HOT 1
- Can't find libevent-2.1.so.6 HOT 13
- Youtube layout changed error HOT 3
- Multiple Issues and Suggestions HOT 2
- update documentation (what search_terms: does?) HOT 2
- youtube-dl error when searching for URL HOT 1
- URI-encode depreciated HOT 1
- Install Struggle HOT 11
- runtime error related to binary_directory HOT 1
- youtube-dl integration corrupted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irs.